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