org.geotools.coverageio.gdal.envihdr
Class EnviHdrFormat

java.lang.Object
  extended by org.geotools.coverage.grid.io.AbstractGridFormat
      extended by org.geotools.coverageio.gdal.BaseGDALGridFormat
          extended by org.geotools.coverageio.gdal.envihdr.EnviHdrFormat
All Implemented Interfaces:
org.opengis.coverage.grid.Format

public final class EnviHdrFormat
extends BaseGDALGridFormat
implements org.opengis.coverage.grid.Format

Author:
Mathew Wyatt, CSIRO Australia, Daniele Romagnoli, GeoSolutions SAS

Field Summary
 
Fields inherited from class org.geotools.coverageio.gdal.BaseGDALGridFormat
SUGGESTED_TILE_SIZE, TILE_SIZE_SEPARATOR, USE_MULTITHREADING
 
Fields inherited from class org.geotools.coverage.grid.io.AbstractGridFormat
GEOTOOLS_WRITE_PARAMS, mInfo, OVERVIEW_POLICY, READ_GRIDGEOMETRY2D, readParameters, USE_JAI_IMAGEREAD, writeParameters
 
Constructor Summary
EnviHdrFormat()
          Constructor for the BaseGDALGridFormat.
 
Method Summary
 EnviHdrReader getReader(java.lang.Object source, Hints hints)
          Gets a GridCoverageReader for this format able to create coverages out of the source object using the provided hints.
protected  void setInfo()
          Sets the metadata information.
 
Methods inherited from class org.geotools.coverageio.gdal.BaseGDALGridFormat
accepts, getDefaultImageIOWriteParameters, getDefaultParameterGroup, getReader, getWriter, getWriter
 
Methods inherited from class org.geotools.coverage.grid.io.AbstractGridFormat
equals, getDefaultCRS, getDescription, getDocURL, getName, getReadParameters, getVendor, getVersion, getWriteParameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opengis.coverage.grid.Format
getDescription, getDocURL, getName, getReadParameters, getVendor, getVersion, getWriteParameters
 

Constructor Detail

EnviHdrFormat

public EnviHdrFormat()
Constructor for the BaseGDALGridFormat. It is invoked by the underlying implementations.

Parameters:
spi - the format specific ImageReaderSpi instance
Method Detail

setInfo

protected void setInfo()
Sets the metadata information.

Specified by:
setInfo in class BaseGDALGridFormat

getReader

public EnviHdrReader getReader(java.lang.Object source,
                               Hints hints)
Description copied from class: AbstractGridFormat
Gets a GridCoverageReader for this format able to create coverages out of the source object using the provided hints.

In case this Format cannot reader the provided source object null is returned.

Specified by:
getReader in class AbstractGridFormat
Parameters:
source - The source object to parse. *
hints - The Hints to use when trying to instantiate this reader.
Returns:
A reader for this Format or null.
See Also:
org.geotools.data.coverage.grid.AbstractGridFormat#getReader(Object, Hints)


Copyright © 1996-2010 Geotools. All Rights Reserved.