public final class ImagePyramidFormat 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 |
---|
ImagePyramidFormat()
Creates an instance and sets the metadata.
|
Modifier and Type | Method and Description |
---|---|
boolean |
accepts(Object source,
Hints hints)
Tells me if this
Format can read the provided input . |
GeoToolsWriteParams |
getDefaultImageIOWriteParameters()
Throw an exception since this plugin is readonly.
|
ImagePyramidReader |
getReader(Object source)
Retrieves a reader for this source object in case the provided source can be read using this
plugin.
|
ImagePyramidReader |
getReader(Object source,
Hints hints)
Retrieves a reader for this source object in case the provided source can be read using this
plugin.
|
GridCoverageWriter |
getWriter(Object destination)
This methods throw an
UnsupportedOperationException because this plugiin si read
only. |
GridCoverageWriter |
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 ImagePyramidFormat()
public ImagePyramidReader getReader(Object source)
getReader
in class AbstractGridFormat
source
- ObjectImagePyramidReader
if the provided object can be read using this plugin or
null.public GridCoverageWriter getWriter(Object destination)
UnsupportedOperationException
because this plugiin si read
only.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 source, Hints hints)
AbstractGridFormat
Format
can read the provided input
.accepts
in class AbstractGridFormat
hints
- Hints
to control the accepts internal machinery.org.geotools.data.coverage.grid.AbstractGridFormat#accepts(Object input)
public ImagePyramidReader getReader(Object source, Hints hints)
getReader
in class AbstractGridFormat
source
- Objecthints
- Hints
to control the reader behaviour.ImagePyramidReader
if the provided object can be read using this plugin or
null.public GeoToolsWriteParams getDefaultImageIOWriteParameters()
getDefaultImageIOWriteParameters
in class AbstractGridFormat
public GridCoverageWriter 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.Copyright © 1996–2019 Geotools. All rights reserved.