Method Summary |
|
final int | checkImageIndex(int imageIndex) Ensures that the specified image index in inside the expected range. |
abstract public CoordinateReferenceSystem | getCoordinateReferenceSystem(int index) Returns the coordinate reference system for the
GridCoverage to be read.
Parameters: index - The index of the image to be queried. |
abstract public Envelope | getEnvelope(int index) Returns the envelope for the
GridCoverage to be read.
The envelope must have the same number of dimensions than the
coordinate reference system.
Parameters: index - The index of the image to be queried. |
public synchronized GridCoverage | getGridCoverage(int index) Reads the grid coverage. |
public synchronized GridRange | getGridRange(int index) Returns the grid range for the
GridCoverage to be read.
The grid range must have the same number of dimensions than the
envelope.
The default implementation construct a
GridRange object
using information provided by
ImageReader.getWidth and
ImageReader.getHeight .
Parameters: index - The index of the image to be queried. |
protected Iterator | getImageReaders(Object input) Returns an
Iterator containing all currently registered
ImageReader s
that claim to be able to decode the image. |
public Locale | getLocale() Returns the currently set
Locale , or
null if none has been set. |
public synchronized MathTransform | getMathTransform(int index) Returns the transform from
to
coordinates. |
public synchronized String | getName(int index) Gets the
GridCoverage name at the specified index. |
public synchronized int | getNumImages(boolean allowSearch) Returns the number of images available from the current input source.
Note that some image formats do not specify how many images are present
in the stream. |
public synchronized GridSampleDimension[] | getSampleDimensions(int index) Returns the sample dimensions for each band of the
GridCoverage to be read. |
final String | getString(int key) Returns a localized string for the specified error key. |
public synchronized void | reset() Restores the
AbstractGridCoverageReader to its initial state. |
public synchronized void | setInput(Object input, boolean seekForwardOnly) Sets the input source to the given object. |
public synchronized void | setLocale(Locale locale) Sets the current
of this coverage reader to the given value. |