|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ObjectProvider
Provides access to PDS4 objects.
Method Summary | ||
---|---|---|
String |
getArchiveRoot()
Gets the root file path of the object archive(s) for this ObjectProvider. |
|
List<Array2DImage> |
getArray2DImages(FileAreaObservational observationalFileArea)
Returns a list of Array2DImage objects given an observation file area object. |
|
List<FieldBinary> |
getFieldBinaries(TableBinary table)
Returns a list of FieldBinary objects given a table binary object. |
|
List<Object> |
getFieldBinaryAndGroupFieldBinaries(TableBinary table)
Returns a list of FieldBinary and GroupFieldBinary objects given a table binary object. |
|
List<Object> |
getFieldCharacterAndGroupFieldCharacters(TableCharacter table)
Returns a list of FieldCharacter and GroupFieldCharacter objects given a table character object. |
|
List<FieldCharacter> |
getFieldCharacters(TableCharacter table)
Returns a list of FieldCharacter objects given a table character object. |
|
List<Object> |
getFieldDelimitedAndGroupFieldDelimiteds(TableDelimited table)
Returns a list of FieldDelimited and GroupFieldDelimited objects given a table delimited object. |
|
List<FieldDelimited> |
getFieldDelimiteds(TableDelimited table)
Returns a list of FieldDelimited objects given a table delimited object. |
|
List<GroupFieldDelimited> |
getGroupFieldDelimiteds(TableDelimited table)
Returns a list of GroupFieldDelimited objects given a table delimited object. |
|
ProductObservational |
getObservationalProduct(String relativeXmlFilePath)
Gets an instance of ProductObservational. |
|
|
getProduct(File labelFile,
Class<T> productClass)
Reads a product label of a specified class, and returns an instance of that class as a result. |
|
File |
getRoot()
Gets the root file path of the object archive(s) for this ObjectProvider. |
|
List<TableBinary> |
getTableBinaries(FileAreaObservational observationalFileArea)
Returns a list of TableBinary objects given an observation file area object. |
|
List<TableCharacter> |
getTableCharacters(FileAreaObservational observationalFileArea)
Returns a list of TableCharacter objects given an observation file area object. |
|
List<TableDelimited> |
getTableDelimiteds(FileAreaObservational observationalFileArea)
Returns a list of TableDelimited objects given an observation file area object. |
|
List<Object> |
getTableObjects(FileAreaObservational observationalFileArea)
Returns a list of table objects. |
|
List<Object> |
getTableObjects(FileAreaObservationalSupplemental observationalFileAreaSupplemental)
Returns a list of table objects. |
|
void |
setObservationalProduct(String relativeXmlFilePath,
ProductObservational product)
Writes a label given the product XML file. |
Method Detail |
---|
String getArchiveRoot()
File getRoot()
List<Array2DImage> getArray2DImages(FileAreaObservational observationalFileArea)
observationalFileArea
-
List<Object> getTableObjects(FileAreaObservational observationalFileArea)
observationalFileArea
-
List<TableCharacter> getTableCharacters(FileAreaObservational observationalFileArea)
observationalFileArea
-
List<TableBinary> getTableBinaries(FileAreaObservational observationalFileArea)
observationalFileArea
-
List<TableDelimited> getTableDelimiteds(FileAreaObservational observationalFileArea)
observationalFileArea
-
List<FieldCharacter> getFieldCharacters(TableCharacter table)
table
- TableCharacter object
List<FieldBinary> getFieldBinaries(TableBinary table)
table
- TableBinary object
List<FieldDelimited> getFieldDelimiteds(TableDelimited table)
table
- TableDelimited object
List<GroupFieldDelimited> getGroupFieldDelimiteds(TableDelimited table)
table
- TableDelimited object
List<Object> getFieldDelimitedAndGroupFieldDelimiteds(TableDelimited table)
table
- TableDelimited object
List<Object> getFieldCharacterAndGroupFieldCharacters(TableCharacter table)
table
- TableCharacter object
List<Object> getFieldBinaryAndGroupFieldBinaries(TableBinary table)
table
- TableBinary object
List<Object> getTableObjects(FileAreaObservationalSupplemental observationalFileAreaSupplemental)
observationalFileAreaSupplemental
-
ProductObservational getObservationalProduct(String relativeXmlFilePath)
relativeXmlFilePath
- the XML file path and name of the product to obtain, relative
to the ObjectAccess archive root
<T> T getProduct(File labelFile, Class<T> productClass) throws ParseException
T
- the product object classlabelFile
- the file containing the XML labelproductClass
- the product object class
ParseException
- if there is an error parsing the labelvoid setObservationalProduct(String relativeXmlFilePath, ProductObservational product)
relativeXmlFilePath
- the XML file path and name of the product to set, relative
to the ObjectAccess archive root
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |