|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectAbstractGridCoverage2DReader
GTopo30Reader
public final class GTopo30Reader
This class provides a GridCoverageReader for the GTopo30Format.
Field Summary |
---|
Fields inherited from class AbstractGridCoverage2DReader |
---|
closeMe, coverageFactory, coverageName, crs, gzipped, highestRes, hints, inStream, inStreamSPI, numOverviews, originalEnvelope, originalGridRange, overViewResolutions, raster2Model, source |
Constructor Summary | |
---|---|
GTopo30Reader(Object source)
GTopo30Reader constructor. |
|
GTopo30Reader(Object source,
Hints hints)
GTopo30Reader constructor. |
Method Summary | |
---|---|
Format |
getFormat()
Returns the format handled by this GridCoverageReader . |
GridCoverage2D |
read(GeneralParameterValue[] params)
Read the current grid coverage from the stream. |
Methods inherited from class Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface GridCoverageReader |
---|
dispose, getCurrentSubname, getGridCoverageCount, getGridCoverageNames, getMetadataNames, getMetadataNames, getMetadataValue, getMetadataValue, getSource, hasMoreGridCoverages, listSubNames, skip |
Constructor Detail |
---|
public GTopo30Reader(Object source) throws IOException
source
- The source object (can be a File, an URL or a String
representing a File or an URL).
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!public GTopo30Reader(Object source, Hints hints) throws IOException
source
- The source object (can be a File, an URL or a String
representing a File or an URL).
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 |
---|
public Format getFormat()
GridCoverageReader
GridCoverageReader
.
getFormat
in interface GridCoverageReader
GridCoverageReader.getFormat()
public GridCoverage2D read(GeneralParameterValue[] params) throws IllegalArgumentException, IOException
AbstractGridCoverage2DReader
Example:
The method AbstractGridCoverage2DReader.hasMoreGridCoverages()
should be invoked first in order to verify that a coverage is available.
read
in interface GridCoverage2DReader
read
in interface GridCoverageReader
read
in class AbstractGridCoverage2DReader
params
- Optional parameters matching Format.getReadParameters()
.
InvalidParameterNameException
- if a parameter in parameters
doesn't have a recognized name.
InvalidParameterValueException
- if a parameter in parameters
doesn't have a valid value.
ParameterNotFoundException
- if a parameter was required for the operation but was
not provided in the parameters
list.
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.
IllegalArgumentException
GridCoverageReader.read(org.opengis.parameter.GeneralParameterValue[])
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |