public class InventoryTableReader extends Object implements InventoryReader
Constructor and Description |
---|
InventoryTableReader(File file)
Constructor.
|
InventoryTableReader(String file)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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(File file) throws InventoryReaderException
file
- A PDS Inventory file.InventoryReaderException
- If an error occurred while reading
the Inventory file.public InventoryTableReader(String file) throws InventoryReaderException
file
- A PDS Inventory fileInventoryReaderException
- If an error occurred while reading
the Inventory file.public 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–2016 Planetary Data System. All rights reserved.