|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DataRasterReader
| Method Summary | |
|---|---|
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. |
| Methods inherited from interface gov.nasa.worldwind.avlist.AVList |
|---|
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues |
| Method Detail |
|---|
boolean canRead(Object source,
AVList params)
InputStreamURL
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)
InputStreamURL
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)
InputStreamURL
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
InputStreamURL
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
InputStreamURL
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.
|
NASA World Wind | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||