org.geotools.gce.gtopo30
Class GTopo30Reader

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

public final class GTopo30Reader
extends AbstractGridCoverage2DReader
implements GridCoverageReader

This class provides a GridCoverageReader for the GTopo30Format.

Author:
Simone Giannecchini, jeichar, mkraemer
Module:
trunk/gt/plugin   (gt-plugin.jar) (Maven report) (SVN head)

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
GTopo30Reader(Object source)
          GTopo30Reader constructor.
GTopo30Reader(Object source, Hints hints)
          GTopo30Reader constructor.
 
Method Summary
 Format getFormat()
           
 int getGridCoverageCount()
          Number of coverages for this reader is 1
 GridCoverage read(GeneralParameterValue[] params)
           
 
Methods inherited from class AbstractGridCoverage2DReader
createImageCoverage, createImageCoverage, decimationOnReadingControl, dispose, finalize, getCrs, getCurrentSubname, getInfo, getMetadataNames, getMetadataValue, getOriginalEnvelope, getOriginalGridRange, getOriginalGridToWorld, getResolution, getSource, hasMoreGridCoverages, 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, skip
 

Constructor Detail

GTopo30Reader

public GTopo30Reader(Object source)
              throws IOException
GTopo30Reader constructor.

Parameters:
source - The source object (can be a File, an URL or a String representing a File or an URL).
Throws:
MalformedURLException - if the URL does not correspond to one of the GTopo30 files
IOException
DataSourceException - if the given url points to an unrecognized file
IllegalArgumentException - DOCUMENT ME!

GTopo30Reader

public GTopo30Reader(Object source,
                     Hints hints)
              throws IOException
GTopo30Reader constructor.

Parameters:
source - The source object (can be a File, an URL or a String representing a File or an URL).
Throws:
MalformedURLException - if the URL does not correspond to one of the GTopo30 files
IOException
DataSourceException - if the given url points to an unrecognized file
IllegalArgumentException - DOCUMENT ME!
Method Detail

getGridCoverageCount

public int getGridCoverageCount()
Number of coverages for this reader is 1

Overrides:
getGridCoverageCount in class AbstractGridCoverage2DReader
Returns:
the number of coverages for this reader.
See Also:
org.opengis.coverage.grid.GridCoverageReader#getGridCoverageCount()

getFormat

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

read

public GridCoverage read(GeneralParameterValue[] params)
                  throws IllegalArgumentException,
                         IOException
Specified by:
read in interface GridCoverageReader
Throws:
IllegalArgumentException
IOException
See Also:
GridCoverageReader.read(org.opengis.parameter.GeneralParameterValue[])


Copyright © 1996-2009 Geotools. All Rights Reserved.