|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nasa.pds.objectAccess.ExporterFactory
public class ExporterFactory
Factory pattern class to create specific object exporters.
Method Summary | |
---|---|
static TwoDImageExporter |
get2DImageExporter(FileAreaObservational fileArea,
ObjectProvider provider)
Gets an instance of a Array2DImage exporter. |
static TwoDImageExporter |
get2DImageExporter(File label,
int fileAreaIndex)
Gets an instance of a Array2DImage exporter. |
static TableExporter |
getTableExporter(FileAreaObservational fileArea,
ObjectProvider provider)
Gets an instance of a Table exporter. |
static TableExporter |
getTableExporter(File label,
int fileAreaIndex)
Gets an instance of a Table exporter. |
static TableReader |
getTableReader(Object tableObject,
File dataFile)
Gets a table reader object for a given table and data file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static TwoDImageExporter get2DImageExporter(File label, int fileAreaIndex) throws Exception
label
- the PDS label filefileAreaIndex
- the file area inside the label containing the data to export
Exception
public static TableExporter getTableExporter(File label, int fileAreaIndex) throws Exception
label
- the PDS label filefileAreaIndex
- the file area inside the label containing the data to export
Exception
public static TwoDImageExporter get2DImageExporter(FileAreaObservational fileArea, ObjectProvider provider) throws Exception
fileArea
- the file area object containing the data to exportprovider
- the object provider pointing to the PDS4 label
Exception
public static TableExporter getTableExporter(FileAreaObservational fileArea, ObjectProvider provider) throws Exception
fileArea
- the file area object containing the data to exportprovider
- the object provider pointing to the PDS4 label
Exception
public static TableReader getTableReader(Object tableObject, File dataFile) throws Exception
tableObject
- the table object, binary, character, or delimiteddataFile
- the data file containing the table
Exception
- if there is an error reading the file
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |