|
||||||||||
| 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 |
|---|
| 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, getMetadataNames, 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()
GridCoverageReaderGridCoverageReader.
getFormat in interface GridCoverageReaderGridCoverageReader.getFormat()
public GridCoverage2D read(GeneralParameterValue[] params)
throws IllegalArgumentException,
IOException
AbstractGridCoverage2DReaderExample:
The method AbstractGridCoverage2DReader.hasMoreGridCoverages() should be invoked first in order to verify that a
coverage is available.
read in interface GridCoverageReaderread in class AbstractGridCoverage2DReaderparams - 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.
IllegalArgumentExceptionGridCoverageReader.read(org.opengis.parameter.GeneralParameterValue[])
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||