public final class WorldImageFormat extends AbstractGridFormat implements Format
| Modifier and Type | Field and Description |
|---|---|
static ParameterDescriptor<String> |
FORMAT
Format writing parameter.
|
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 |
|---|
WorldImageFormat()
WorldImageFormat
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(Object input,
Hints hints)
Takes the input and determines if it is a class that we can understand and then futher checks
the format of the class to make sure we can read/write to it.
|
GeoToolsWriteParams |
getDefaultImageIOWriteParameters()
Always returns null since for the moment there are no
GeoToolsWriteParams available
for this format. |
WorldImageReader |
getReader(Object source)
Retrieves a
WorldImageReader in case the providede source can be
accepted as a valid source for a world image. |
WorldImageReader |
getReader(Object source,
Hints hints)
Retrieves a
WorldImageReader in case the providede source can be
accepted as a valid source for a world image. |
static Set<String> |
getWorldExtension(String fileExtension)
Takes an image file extension (such as .gif, including the '.') and returns it's
corresponding world file extension (such as .gfw).
|
GridCoverageWriter |
getWriter(Object destination)
Call the accepts() method before asking for a writer to determine if the current object is
supported.
|
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, getWriteParametersclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDescription, getDocURL, getName, getReadParameters, getVendor, getVersion, getWriteParameterspublic static final ParameterDescriptor<String> FORMAT
public WorldImageReader getReader(Object source)
WorldImageReader in case the providede source can be
accepted as a valid source for a world image. The method returns null otherwise.getReader in class AbstractGridFormatsource - The source object to read a WorldImage frompublic GridCoverageWriter getWriter(Object destination)
getWriter in class AbstractGridFormatdestination - the destination object to write a WorldImage topublic GridCoverageWriter getWriter(Object destination, Hints hints)
getWriter in class AbstractGridFormatdestination - the destination object to write a WorldImage tohints - Hints to control the internal machinery.public boolean accepts(Object input, Hints hints)
accepts in class AbstractGridFormatinput - The object to check for acceptance.hints - Hints to control the accepts internal machinery.public static Set<String> getWorldExtension(String fileExtension)
fileExtension - an image file extension, including the '.'Set of world file extensions, including the '.'public WorldImageReader getReader(Object source, Hints hints)
WorldImageReader in case the providede source can be
accepted as a valid source for a world image. The method returns null otherwise.getReader in class AbstractGridFormatsource - The source object to read a WorldImage fromhints - Hints to control the provided WorldImageReader.public GeoToolsWriteParams getDefaultImageIOWriteParameters()
GeoToolsWriteParams available
for this format.getDefaultImageIOWriteParameters in class AbstractGridFormatCopyright © 1996–2019 Geotools. All rights reserved.