public interface DataRasterReader extends AVList
Modifier and Type | Method and Description |
---|---|
boolean |
canRead(Object source,
AVList params)
Indicates whether this reader can read a specified data source.
|
String |
getDescription() |
String[] |
getSuffixes() |
boolean |
isElevationsRaster(Object source,
AVList params)
Indicates whether a data source is elevation data.
|
boolean |
isImageryRaster(Object source,
AVList params)
Indicates whether a data source is imagery.
|
DataRaster[] |
read(Object source,
AVList params)
Reads and returns the DataRaster instances from a data source.
|
AVList |
readMetadata(Object source,
AVList params)
Reads and returns the metadata from a data source.
|
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
boolean canRead(Object source, AVList params)
InputStream
URL
source
- the source to examine.params
- parameters required by certain reader implementations. May be null for most readers.String getDescription()
String[] getSuffixes()
boolean isElevationsRaster(Object source, AVList params)
InputStream
URL
source
- the source to examine.params
- parameters required by certain reader implementations. May be null for most readers.
TODO: Identify when parameters must be passed.boolean isImageryRaster(Object source, AVList params)
InputStream
URL
source
- the source to examine.params
- parameters required by certain reader implementations. May be null for most readers.DataRaster[] read(Object source, AVList params) throws IOException
InputStream
URL
source
- the source to read.params
- parameters required by certain reader implementations. May be null for most readers. If non-null,
the metadata is added to this list, and the list reference is the return value of this method.IOException
- if an IO error occurs.AVList readMetadata(Object source, AVList params) throws IOException
InputStream
URL
source
- the source to examine.params
- parameters required by certain reader implementations. May be null for most readers. If non-null,
the metadata is added to this list, and the list reference is the return value of this method.IOException
- if an IO error occurs.