public class InventoryTableReader extends Object implements InventoryReader
Modifier and Type | Field and Description |
---|---|
static String |
DATA_FILE
XPath to the external table file of a collection.
|
static String |
FIELD_DELIMITER
XPath to determine the field delimiter being used in the inventory table.
|
static String |
LIDVID_LID_FIELD_NUMBER
XPath to determine the field location of the LID-LIDVID field in the
inventory table.
|
static String |
MEMBER_STATUS_FIELD_NUMBER
XPath to determine the field location of the member status field in the
inventory table.
|
Constructor and Description |
---|
InventoryTableReader(URL url)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
URL |
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 static final String FIELD_DELIMITER
public static final String MEMBER_STATUS_FIELD_NUMBER
public static final String LIDVID_LID_FIELD_NUMBER
public static final String DATA_FILE
public InventoryTableReader(URL url) throws InventoryReaderException
url
- The URL to the PDS Inventory file.InventoryReaderException
- If an error occurred while reading
the Inventory file.URISyntaxException
MalformedURLException
public URL 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–2017 Planetary Data System. All rights reserved.