T
- the object typepublic interface Exporter<T>
Modifier and Type | Method and Description |
---|---|
void |
convert(OutputStream outputStream,
int objectIndex)
Converts the object at index objectIndex into the desired export type.
|
void |
convert(T object,
OutputStream outputStream)
Converts the input data file into the desired export type.
|
void |
setExportType(String exportType)
Sets the desired export (output) type.
|
void |
setObjectProvider(ObjectProvider provider)
Sets the object provider associated with the exporter.
|
void |
setObservationalFileArea(FileAreaObservational fileAreaObs)
Sets the Observational File Area associated with the exporter.
|
void setExportType(String exportType)
exportType
- void setObjectProvider(ObjectProvider provider)
provider
- the ObjectProvider.void setObservationalFileArea(FileAreaObservational fileAreaObs)
fileAreaObs
- the Observational File Areavoid convert(T object, OutputStream outputStream) throws IOException
object
- the input object of type ToutputStream
- the output stream for the output objectIOException
void convert(OutputStream outputStream, int objectIndex) throws IOException
outputStream
- the output stream for the output objectobjectIndex
- the index of the input object of type T in the associated
observational file areaIOException
Copyright © 2010–2016 Planetary Data System. All rights reserved.