public class InventoryTableReader extends java.lang.Object implements InventoryReader
Constructor and Description |
---|
InventoryTableReader(java.io.File file)
Constructor.
|
InventoryTableReader(java.lang.String file)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.io.File |
getDataFile()
Gets the data file that is being read.
|
int |
getLineNumber()
Gets the line number that was just read.
|
InventoryEntry |
getNext()
Gets the next product file reference in the PDS Inventory file.
|
public InventoryTableReader(java.io.File file) throws InventoryReaderException
file
- A PDS Inventory file.InventoryReaderException
- If an error occurred while reading
the Inventory file.public InventoryTableReader(java.lang.String file) throws InventoryReaderException
file
- A PDS Inventory fileInventoryReaderException
- If an error occurred while reading
the Inventory file.public java.io.File getDataFile()
public int getLineNumber()
public InventoryEntry getNext() throws InventoryReaderException
getNext
in interface InventoryReader
InventoryReaderException
- If an error occurred while reading
the Inventory file.Copyright © 2010-2018 Planetary Data System. All Rights Reserved.