public final class WorldImageReader extends AbstractGridCoverage2DReader implements GridCoverage2DReader
closeMe, coverageFactory, coverageName, crs, dtLayout, EPS, gzipped, highestRes, hints, inStream, inStreamSPI, numOverviews, originalEnvelope, originalGridRange, overViewResolutions, raster2Model, sourceELEVATION_DOMAIN, ELEVATION_DOMAIN_MAXIMUM, ELEVATION_DOMAIN_MINIMUM, ELEVATION_DOMAIN_RESOLUTION, FILE_SOURCE_PROPERTY, HAS_ELEVATION_DOMAIN, HAS_TIME_DOMAIN, MULTICRS_READER, REPROJECTING_READER, SOURCE_URL_PROPERTY, TIME_DOMAIN, TIME_DOMAIN_MAXIMUM, TIME_DOMAIN_MINIMUM, TIME_DOMAIN_RESOLUTION| Constructor and Description |
|---|
WorldImageReader(Object input)
Class constructor.
|
WorldImageReader(Object input,
Hints hints)
Class constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getExtension()
Returns the file extension of the image.
|
protected List<FileGroupProvider.FileGroup> |
getFiles()
Returns a list of files making up the source data for this reader (as a whole).
|
Format |
getFormat()
Returns the format that this Reader accepts.
|
int |
getGridCoverageCount()
Number of coverages for this reader is 1
|
GridCoverage2D |
read(GeneralParameterValue[] params)
Reads an image from a source stream.
|
addAllSiblings, addSiblings, checkName, createImageCoverage, createImageCoverage, createImageCoverage, createImageCoverage, decimationOnReadingControl, dispose, finalize, getCoordinateReferenceSystem, getCoordinateReferenceSystem, getCrs, getCurrentSubname, getDatasetLayout, getDatasetLayout, getDynamicParameters, getDynamicParameters, getGridCoverageNames, getGroundControlPoints, getGroundControlPoints, getHighestRes, getImageLayout, getImageLayout, getInfo, getInfo, getMetadataNames, getMetadataNames, getMetadataValue, getMetadataValue, getMultiLevelROIProvider, getNumOverviews, getNumOverviews, getOriginalEnvelope, getOriginalEnvelope, getOriginalGridRange, getOriginalGridRange, getOriginalGridToWorld, getOriginalGridToWorld, getOverviewGridEnvelope, getOverviewGridEnvelope, getReadingResolutions, getReadingResolutions, getRescaledRasterToModel, getResolution, getResolutionLevels, getResolutionLevels, getSibling, getSource, getSourceAsFile, hasMoreGridCoverages, listSubNames, read, setlayout, setLayout, setReadParams, setReadParams, skipclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCoordinateReferenceSystem, getCoordinateReferenceSystem, getDatasetLayout, getDatasetLayout, getDynamicParameters, getDynamicParameters, getImageLayout, getImageLayout, getInfo, getInfo, getNumOverviews, getNumOverviews, getOriginalEnvelope, getOriginalEnvelope, getOriginalGridRange, getOriginalGridRange, getOriginalGridToWorld, getOriginalGridToWorld, getReadingResolutions, getReadingResolutions, getResolutionLevels, getResolutionLevels, readdispose, getCurrentSubname, getGridCoverageNames, getMetadataNames, getMetadataNames, getMetadataValue, getMetadataValue, getSource, hasMoreGridCoverages, listSubNames, skippublic WorldImageReader(Object input) throws DataSourceException
input - The source of a GridCoverage, can be a File, a URL or an input stream.DataSourceExceptionpublic WorldImageReader(Object input, Hints hints) throws DataSourceException
input - The source of a GridCoverage, can be a File, a URL or an input stream.DataSourceExceptionpublic Format getFormat()
getFormat in interface GridCoverageReaderpublic GridCoverage2D read(GeneralParameterValue[] params) throws IllegalArgumentException, IOException
read in interface GridCoverage2DReaderread in interface GridCoverageReaderread in class AbstractGridCoverage2DReaderparams - WorldImageReader supports no parameters, it just ignores them.IllegalArgumentException - DOCUMENT ME!IOException - DOCUMENT ME!public int getGridCoverageCount()
getGridCoverageCount in interface GridCoverageReadergetGridCoverageCount in class AbstractGridCoverage2DReaderGridCoverageReader.getGridCoverageCount()public String getExtension()
protected List<FileGroupProvider.FileGroup> getFiles()
AbstractGridCoverage2DReadergetFiles in class AbstractGridCoverage2DReaderCopyright © 1996–2019 Geotools. All rights reserved.