public final class WorldImageReader extends AbstractGridCoverage2DReader implements GridCoverage2DReader
closeMe, coverageFactory, coverageName, crs, dtLayout, EPS, gzipped, highestRes, hints, inStream, inStreamSPI, numOverviews, originalEnvelope, originalGridRange, overViewResolutions, raster2Model, source
ELEVATION_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, skip
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCoordinateReferenceSystem, getCoordinateReferenceSystem, getDatasetLayout, getDatasetLayout, getDynamicParameters, getDynamicParameters, getImageLayout, getImageLayout, getInfo, getInfo, getNumOverviews, getNumOverviews, getOriginalEnvelope, getOriginalEnvelope, getOriginalGridRange, getOriginalGridRange, getOriginalGridToWorld, getOriginalGridToWorld, getReadingResolutions, getReadingResolutions, getResolutionLevels, getResolutionLevels, read
dispose, getCurrentSubname, getGridCoverageNames, getMetadataNames, getMetadataNames, getMetadataValue, getMetadataValue, getSource, hasMoreGridCoverages, listSubNames, skip
public WorldImageReader(Object input) throws DataSourceException
input
- The source of a GridCoverage, can be a File, a URL or an input stream.DataSourceException
public WorldImageReader(Object input, Hints hints) throws DataSourceException
input
- The source of a GridCoverage, can be a File, a URL or an input stream.DataSourceException
public Format getFormat()
getFormat
in interface GridCoverageReader
public GridCoverage2D read(GeneralParameterValue[] params) throws IllegalArgumentException, IOException
read
in interface GridCoverage2DReader
read
in interface GridCoverageReader
read
in class AbstractGridCoverage2DReader
params
- WorldImageReader supports no parameters, it just ignores them.IllegalArgumentException
- DOCUMENT ME!IOException
- DOCUMENT ME!public int getGridCoverageCount()
getGridCoverageCount
in interface GridCoverageReader
getGridCoverageCount
in class AbstractGridCoverage2DReader
GridCoverageReader.getGridCoverageCount()
public String getExtension()
protected List<FileGroupProvider.FileGroup> getFiles()
AbstractGridCoverage2DReader
getFiles
in class AbstractGridCoverage2DReader
Copyright © 1996–2019 Geotools. All rights reserved.