NASA World Wind

gov.nasa.worldwind.data
Class GDALDataRasterReader

java.lang.Object
  extended by gov.nasa.worldwind.avlist.AVListImpl
      extended by gov.nasa.worldwind.data.AbstractDataRasterReader
          extended by gov.nasa.worldwind.data.GDALDataRasterReader
All Implemented Interfaces:
AVList, DataRasterReader

public class GDALDataRasterReader
extends AbstractDataRasterReader


Field Summary
protected static String[] mimeTypes
           
protected static String[] suffixes
           
 
Fields inherited from class gov.nasa.worldwind.data.AbstractDataRasterReader
description
 
Constructor Summary
GDALDataRasterReader()
           
 
Method Summary
 boolean canRead(Object source, AVList params)
          Indicates whether this reader can read a specified data source.
protected  boolean doCanRead(Object source, AVList params)
           
protected  DataRaster[] doRead(Object source, AVList params)
           
protected  void doReadMetadata(Object source, AVList params)
           
protected  GDALDataRaster readDataRaster(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, finalize, 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
 

Field Detail

mimeTypes

protected static final String[] mimeTypes

suffixes

protected static final String[] suffixes
Constructor Detail

GDALDataRasterReader

public GDALDataRasterReader()
Method Detail

canRead

public boolean canRead(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:
  • InputStream
  • URL

  • doCanRead

    protected boolean doCanRead(Object source,
                                AVList params)
    Specified by:
    doCanRead in class AbstractDataRasterReader

    doRead

    protected DataRaster[] doRead(Object source,
                                  AVList params)
                           throws IOException
    Specified by:
    doRead in class AbstractDataRasterReader
    Throws:
    IOException

    doReadMetadata

    protected void doReadMetadata(Object source,
                                  AVList params)
                           throws IOException
    Specified by:
    doReadMetadata in class AbstractDataRasterReader
    Throws:
    IOException

    readDataRaster

    protected GDALDataRaster readDataRaster(Object source,
                                            boolean quickReadingMode)
                                     throws IOException
    Throws:
    IOException

    NASA World Wind