public abstract class ImageExporter extends ObjectExporter
Constructor and Description |
---|
ImageExporter(FileAreaObservational fileArea,
ObjectProvider provider)
Constructor.
|
ImageExporter(File label,
int fileAreaIndex)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
DisplaySettings |
getDisplaySettings(String id)
Get the display settings associated with the given identifier.
|
protected void |
parseLabel(File label,
int fileAreaIndex)
Parse the label.
|
void |
setDisplaySettings(List<DisplaySettings> displaySettings)
Set the display settings.
|
getObjectProvider, getObservationalFileArea, setObjectProvider, setObservationalFileArea
public ImageExporter(File label, int fileAreaIndex) throws Exception
label
- label file.fileAreaIndex
- The index of the File_Area_Observational element
that contains the image to export.Exception
- If an error occurred parsing the label.public ImageExporter(FileAreaObservational fileArea, ObjectProvider provider) throws IOException
fileArea
- The File_Area_Observational element containing the
image to export.provider
- The ObjectProvider associated with the image to export.IOException
protected void parseLabel(File label, int fileAreaIndex) throws Exception
parseLabel
in class ObjectExporter
label
- The label file.fileAreaIndex
- The index of the File_Area_Observational element
that contains the image to export.Exception
- If an error occurred while parsing the label.public void setDisplaySettings(List<DisplaySettings> displaySettings)
displaySettings
- A list of DisplaySettings.public DisplaySettings getDisplaySettings(String id)
id
- The identifier to search.Copyright © 2010–2016 Planetary Data System. All rights reserved.