public interface ProductIOPlugIn
ProductIOPlugIn interface is the base for all data product reader or writer plug-ins.| Modifier and Type | Method and Description |
|---|---|
String[] |
getDefaultFileExtensions()
Gets the default file extensions associated with each of the format names returned
by the
getFormatNames() method. |
String |
getDescription(Locale locale)
Gets a short description of this plug-in.
|
String[] |
getFormatNames()
Gets the names of the product formats handled by this product I/O plug-in.
|
SnapFileFilter |
getProductFileFilter()
Gets an instance of
SnapFileFilter for use in a JFileChooser. |
String[] getFormatNames()
nullString[] getDefaultFileExtensions()
getFormatNames() method. The string array returned
shall have the same length as the array returned by the
getFormatNames() method.
The extensions returned in the
string array also shall always include a leading colon ('.') character,
e.g. ".hdf". If there is no default files extensions an empty array can
be returned.
nullString getDescription(Locale locale)
null the default locale is
used.
In a GUI, the description returned could be used as tool-tip text.
locale - the local for the given description string, if null the default locale is usedSnapFileFilter getProductFileFilter()
SnapFileFilter for use in a JFileChooser.null if this plugin doesn't support file filterCopyright © 2014–2017 European Space Agency (ESA). All rights reserved.