T - the object typepublic interface Exporter<T>
| Modifier and Type | Method and Description |
|---|---|
void |
convert(java.io.OutputStream outputStream,
int objectIndex)
Converts the object at index objectIndex into the desired export type.
|
void |
convert(T object,
java.io.OutputStream outputStream)
Converts the input data file into the desired export type.
|
void |
setExportType(java.lang.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(java.lang.String exportType)
exportType - void setObjectProvider(ObjectProvider provider)
provider - the ObjectProvider.void setObservationalFileArea(FileAreaObservational fileAreaObs)
fileAreaObs - the Observational File Areavoid convert(T object, java.io.OutputStream outputStream) throws java.io.IOException, InvalidTableException, com.opencsv.exceptions.CsvValidationException
object - the input object of type ToutputStream - the output stream for the output objectjava.io.IOExceptioncom.opencsv.exceptions.CsvValidationExceptionInvalidTableExceptionvoid convert(java.io.OutputStream outputStream,
int objectIndex)
throws java.io.IOException,
InvalidTableException,
com.opencsv.exceptions.CsvValidationException
outputStream - the output stream for the output objectobjectIndex - the index of the input object of type T in the associated
observational file areajava.io.IOExceptioncom.opencsv.exceptions.CsvValidationExceptionInvalidTableExceptionCopyright © 2022 Planetary Data System. All rights reserved.