Package gov.nasa.pds.objectAccess
Class ObjectExporter
java.lang.Object
gov.nasa.pds.objectAccess.ObjectExporter
- Direct Known Subclasses:
- ImageExporter,- TableExporter
public abstract class ObjectExporter extends Object
Super class of all object type exporters.
- Author:
- dcberrio
- 
Constructor SummaryConstructors Constructor Description ObjectExporter()ObjectExporter(FileAreaObservational fileArea, ObjectProvider provider)Super constructor.ObjectExporter(File label, int fileAreaIndex)Super constructor.ObjectExporter(URL label, int fileAreaIndex)Super constructor.
- 
Method SummaryModifier and Type Method Description ObjectProvidergetObjectProvider()Gets the objectProvider associated with this exporter.FileAreaObservationalgetObservationalFileArea()Gets the observational file area containing the data to be exported.protected voidparseLabel(File label, int fileAreaIndex)protected voidparseLabel(URL label, int fileAreaIndex)voidsetObjectProvider(ObjectProvider provider)Sets the objectProvider associated with this exporter.voidsetObservationalFileArea(FileAreaObservational fileAreaObs)Set the observational file area containing the data to be exported.
- 
Constructor Details- 
ObjectExporterpublic ObjectExporter()
- 
ObjectExporterSuper constructor. Parses the input label file, reporting errors appropriately.- Parameters:
- label- the label file
- fileAreaIndex- the index of the observational file area to be used by this exporter
- Throws:
- Exception
 
- 
ObjectExporterSuper constructor. Parses the input label file, reporting errors appropriately.- Parameters:
- label- the label file
- fileAreaIndex- the index of the observational file area to be used by this exporter
- Throws:
- Exception
 
- 
ObjectExporterSuper constructor.- Parameters:
- fileArea- the observational file area to be used by this exporter
- provider- the objectProvider that points to the location of the data to export
- Throws:
- IOException
 
 
- 
- 
Method Details- 
parseLabel- Throws:
- Exception
 
- 
parseLabel- Throws:
- Exception
 
- 
setObjectProviderSets the objectProvider associated with this exporter.- Parameters:
- provider- the objectProvider associated with this exporter
 
- 
getObjectProviderGets the objectProvider associated with this exporter.- Returns:
- objectProvider the objectProvider associated with this exporter
 
- 
setObservationalFileAreaSet the observational file area containing the data to be exported.- Parameters:
- fileAreaObs- the observational file area containing the data to be exported
 
- 
getObservationalFileAreaGets the observational file area containing the data to be exported.- Returns:
- fileArea the observational file area containing the data to be exported
 
 
-