Package gov.nasa.worldwind.data
Class GDALDataRasterReader
- java.lang.Object
-
- gov.nasa.worldwind.avlist.AVListImpl
-
- gov.nasa.worldwind.data.AbstractDataRasterReader
-
- gov.nasa.worldwind.data.GDALDataRasterReader
-
- All Implemented Interfaces:
AVList
,DataRasterReader
public class GDALDataRasterReader extends AbstractDataRasterReader
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String[]
mimeTypes
protected static java.lang.String[]
suffixes
-
Fields inherited from class gov.nasa.worldwind.data.AbstractDataRasterReader
description
-
-
Constructor Summary
Constructors Constructor Description GDALDataRasterReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canRead(java.lang.Object source, AVList params)
Indicates whether this reader can read a specified data source.protected boolean
doCanRead(java.lang.Object source, AVList params)
protected DataRaster[]
doRead(java.lang.Object source, AVList params)
protected void
doReadMetadata(java.lang.Object source, AVList params)
protected GDALDataRaster
readDataRaster(java.lang.Object source, boolean quickReadingMode)
-
Methods inherited from class gov.nasa.worldwind.data.AbstractDataRasterReader
canReadSuffix, getDescription, getMimeTypes, getSuffixes, isElevationsRaster, isImageryRaster, read, readMetadata, validateMetadata
-
Methods inherited from class gov.nasa.worldwind.avlist.AVListImpl
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getBooleanValue, getBooleanValue, getChangeSupport, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getRestorableStateForAVPair, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
-
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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
-
canRead
public boolean canRead(java.lang.Object source, AVList params)
Description copied from class:AbstractDataRasterReader
Indicates whether this reader can read a specified data source. The source may be one of the following:File
String
InputStream
URL
- Specified by:
canRead
in interfaceDataRasterReader
- Overrides:
canRead
in classAbstractDataRasterReader
- Parameters:
source
- the source to examine.params
- parameters required by certain reader implementations. May be null for most readers.- Returns:
- true if this reader can read the data source, otherwise false.
-
doCanRead
protected boolean doCanRead(java.lang.Object source, AVList params)
- Specified by:
doCanRead
in classAbstractDataRasterReader
-
doRead
protected DataRaster[] doRead(java.lang.Object source, AVList params) throws java.io.IOException
- Specified by:
doRead
in classAbstractDataRasterReader
- Throws:
java.io.IOException
-
doReadMetadata
protected void doReadMetadata(java.lang.Object source, AVList params) throws java.io.IOException
- Specified by:
doReadMetadata
in classAbstractDataRasterReader
- Throws:
java.io.IOException
-
readDataRaster
protected GDALDataRaster readDataRaster(java.lang.Object source, boolean quickReadingMode) throws java.io.IOException
- Throws:
java.io.IOException
-
-