org.geotools.coverageio.gdal.ecw
Class ECWReader

Object
  extended by AbstractGridCoverage2DReader
      extended by BaseGridCoverage2DReader
          extended by BaseGDALGridCoverage2DReader
              extended by ECWReader
All Implemented Interfaces:
GridCoverageReader

public final class ECWReader
extends BaseGDALGridCoverage2DReader
implements GridCoverageReader

This class can read a ECW data source and create a GridCoverage2D from the data.

Since:
2.5.x
Author:
Daniele Romagnoli, GeoSolutions., Simone Giannecchini (simboss), GeoSolutions

Field Summary
 
Fields inherited from class AbstractGridCoverage2DReader
closeMe, coverageFactory, crs, demColors, EPS, gzipped, highestRes, hints, inStream, numOverviews, originalEnvelope, originalGridRange, overViewResolutions, raster2Model, source
 
Constructor Summary
ECWReader(Object input)
          Creates a new instance of a ECWReader.
ECWReader(Object input, Hints hints)
          Creates a new instance of a ECWReader.
 
Method Summary
 Format getFormat()
           
 
Methods inherited from class BaseGDALGridCoverage2DReader
setCoverageProperties
 
Methods inherited from class BaseGridCoverage2DReader
getCoverageCRS, getCoverageEnvelope, getCoverageGridRange, getCoverageName, getGridCoverageCount, getInfo, getInfo, getInputFile, hasMoreGridCoverages, parsePRJFile, parseWorldFile, read, setCoverageCRS, setCoverageEnvelope, setCoverageGridRange
 
Methods inherited from class AbstractGridCoverage2DReader
createImageCoverage, createImageCoverage, decimationOnReadingControl, dispose, finalize, getCrs, getCurrentSubname, getMetadataNames, getMetadataValue, getOriginalEnvelope, getOriginalGridRange, getOriginalGridToWorld, getResolution, getSource, listSubNames, setReadParams, setReadParams, skip
 
Methods inherited from class Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface GridCoverageReader
dispose, getCurrentSubname, getMetadataNames, getMetadataValue, getSource, hasMoreGridCoverages, listSubNames, read, skip
 

Constructor Detail

ECWReader

public ECWReader(Object input)
          throws DataSourceException
Creates a new instance of a ECWReader. I assume nothing about file extension.

Parameters:
input - Source object for which we want to build an ECWReader.
Throws:
DataSourceException

ECWReader

public ECWReader(Object input,
                 Hints hints)
          throws DataSourceException
Creates a new instance of a ECWReader. I assume nothing about file extension.

Parameters:
input - Source object for which we want to build an ECWReader.
hints - Hints to be used by this reader throughout his life.
Throws:
DataSourceException
Method Detail

getFormat

public Format getFormat()
Specified by:
getFormat in interface GridCoverageReader
See Also:
GridCoverageReader.getFormat()


Copyright © 1996-2009 Geotools. All Rights Reserved.