public interface DataRasterReader extends AVList
Modifier and Type | Method and Description |
---|---|
boolean |
canRead(java.lang.Object source,
AVList params)
Indicates whether this reader can read a specified data source.
|
java.lang.String |
getDescription() |
java.lang.String[] |
getSuffixes() |
boolean |
isElevationsRaster(java.lang.Object source,
AVList params)
Indicates whether a data source is elevation data.
|
boolean |
isImageryRaster(java.lang.Object source,
AVList params)
Indicates whether a data source is imagery.
|
DataRaster[] |
read(java.lang.Object source,
AVList params)
Reads and returns the DataRaster instances from a data source.
|
AVList |
readMetadata(java.lang.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(java.lang.Object source, AVList params)
File
String
InputStream
URL
source
- the source to examine.params
- parameters required by certain reader implementations. May be null for most readers.java.lang.String getDescription()
java.lang.String[] getSuffixes()
boolean isElevationsRaster(java.lang.Object source, AVList params)
File
String
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(java.lang.Object source, AVList params)
File
String
InputStream
URL
source
- the source to examine.params
- parameters required by certain reader implementations. May be null for most readers.DataRaster[] read(java.lang.Object source, AVList params) throws java.io.IOException
File
String
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.java.io.IOException
- if an IO error occurs.AVList readMetadata(java.lang.Object source, AVList params) throws java.io.IOException
File
String
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.java.io.IOException
- if an IO error occurs.