org.geotools.arcsde.raster.gce
Class ArcSDEGridCoverage2DReaderJAI

Object
  extended by AbstractGridCoverage2DReader
      extended by ArcSDEGridCoverage2DReaderJAI
All Implemented Interfaces:
GridCoverageReader

public final class ArcSDEGridCoverage2DReaderJAI
extends AbstractGridCoverage2DReader

Since:
2.5.4
Author:
Gabriel Roldan (OpenGeo)
Module:

Field Summary
 
Fields inherited from class AbstractGridCoverage2DReader
closeMe, coverageFactory, coverageName, crs, demColors, EPS, gzipped, highestRes, hints, inStream, numOverviews, originalEnvelope, originalGridRange, overViewResolutions, raster2Model, source
 
Constructor Summary
ArcSDEGridCoverage2DReaderJAI(ArcSDERasterFormat parent, RasterReaderFactory rasterReaderFactory, RasterDatasetInfo rasterInfo, Hints hints)
           
 
Method Summary
 Format getFormat()
           
 ServiceInfo getInfo()
          Information about this source.
 GridCoverage2D read(GeneralParameterValue[] params)
          Read the current grid coverage from the stream.
 
Methods inherited from class AbstractGridCoverage2DReader
createImageCoverage, createImageCoverage, decimationOnReadingControl, dispose, finalize, getCrs, getCurrentSubname, getGridCoverageCount, getMetadataNames, getMetadataValue, getOriginalEnvelope, getOriginalGridRange, getOriginalGridToWorld, getResolution, getSource, hasMoreGridCoverages, listSubNames, setReadParams, skip
 
Methods inherited from class Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArcSDEGridCoverage2DReaderJAI

public ArcSDEGridCoverage2DReaderJAI(ArcSDERasterFormat parent,
                                     RasterReaderFactory rasterReaderFactory,
                                     RasterDatasetInfo rasterInfo,
                                     Hints hints)
                              throws IOException
Throws:
IOException
Method Detail

getFormat

public Format getFormat()
See Also:
GridCoverageReader.getFormat()

getInfo

public ServiceInfo getInfo()
Description copied from class: AbstractGridCoverage2DReader
Information about this source.

Subclasses should provide additional format specific information.

Overrides:
getInfo in class AbstractGridCoverage2DReader
Returns:
ServiceInfo describing getSource().

read

public GridCoverage2D read(GeneralParameterValue[] params)
                    throws IOException
Description copied from class: AbstractGridCoverage2DReader
Read the current grid coverage from the stream.

Example:


 
The method AbstractGridCoverage2DReader.hasMoreGridCoverages() should be invoked first in order to verify that a coverage is available.

Specified by:
read in interface GridCoverageReader
Specified by:
read in class AbstractGridCoverage2DReader
Parameters:
params - Optional parameters matching Format.getReadParameters().
Returns:
A new grid coverage from the input source, or null if the requested envelope is outside the data bounds
Throws:
IOException - if a read operation failed for some other input/output reason, including FileNotFoundException if no file with the given name can be found, or IIOException if an error was thrown by the underlying image library.
See Also:
GridCoverageReader.read(GeneralParameterValue[])


Copyright © 1996-2010 Geotools. All Rights Reserved.