public final class GrassCoverageFormat extends AbstractGridFormat implements Format
BACKGROUND_COLOR, BANDS, DECIMATION_POLICY, ELEVATION, FOOTPRINT_BEHAVIOR, GEOTOOLS_WRITE_PARAMS, INPUT_TRANSPARENT_COLOR, INTERPOLATION, mInfo, OVERVIEW_POLICY, PROGRESS_LISTENER, READ_GRIDGEOMETRY2D, readParameters, SUGGESTED_TILE_SIZE, TILE_SIZE_SEPARATOR, TIME, USE_JAI_IMAGEREAD, writeParameters
Constructor and Description |
---|
GrassCoverageFormat()
Creates an instance and sets the metadata.
|
Modifier and Type | Method and Description |
---|---|
boolean |
accepts(Object o,
Hints hints)
Tells me if this
Format can read the provided input . |
GeoToolsWriteParams |
getDefaultImageIOWriteParameters()
Always returns null since for the moment there are no
GeoToolsWriteParams available
for this format. |
GrassCoverageReader |
getReader(Object o)
Gets a
GridCoverageReader for this format able to create coverages out of the
source object. |
GrassCoverageReader |
getReader(Object o,
Hints hints)
Gets a
GridCoverageReader for this format able to create coverages out of the
source object using the provided hints . |
GridCoverageWriter |
getWriter(Object destination)
Retrieves a
GridCoverageWriter suitable for writing to the provided destination
with this format. |
GrassCoverageWriter |
getWriter(Object destination,
Hints hints)
Call the accepts() method before asking for a writer to determine if the current object is
supported.
|
accepts, equals, getDefaultCRS, getDescription, getDocURL, getName, getReadParameters, getVendor, getVersion, getWriteParameters
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDescription, getDocURL, getName, getReadParameters, getVendor, getVersion, getWriteParameters
public GrassCoverageFormat()
public GrassCoverageReader getReader(Object o)
AbstractGridFormat
GridCoverageReader
for this format able to create coverages out of the
source
object.
In case this Format
cannot reader the provided source
object
null
is returned.
getReader
in class AbstractGridFormat
o
- The source object to parse.Format
or null.public GrassCoverageWriter getWriter(Object destination, Hints hints)
AbstractGridFormat
getWriter
in class AbstractGridFormat
destination
- the destination object to write a WorldImage tohints
- Hints
to control the internal machinery.public GridCoverageWriter getWriter(Object destination)
AbstractGridFormat
GridCoverageWriter
suitable for writing to the provided destination
with this format.
In case no writers are available null
is returned.
getWriter
in class AbstractGridFormat
destination
- The destinatin where to write.GridCoverageWriter
suitable for writing to the provided destination
with this format.public boolean accepts(Object o, Hints hints)
AbstractGridFormat
Format
can read the provided input
.accepts
in class AbstractGridFormat
hints
- Hints
to control the accepts internal machinery.public GrassCoverageReader getReader(Object o, Hints hints)
AbstractGridFormat
GridCoverageReader
for this format able to create coverages out of the
source
object using the provided hints
.
In case this Format
cannot reader the provided source
object
null
is returned.
getReader
in class AbstractGridFormat
o
- The source object to parse. *hints
- The Hints
to use when trying to instantiate this reader.Format
or null.public GeoToolsWriteParams getDefaultImageIOWriteParameters()
GeoToolsWriteParams
available
for this format.getDefaultImageIOWriteParameters
in class AbstractGridFormat
Copyright © 1996–2019 Geotools. All rights reserved.