Class GrassCoverageFormat
Object
AbstractGridFormat
GrassCoverageFormat
- All Implemented Interfaces:
Format
Provides basic information about the grass raster format IO.
- Author:
- Andrea Antonello (www.hydrologis.com)
-
Field Summary
Fields inherited from class AbstractGridFormat
BACKGROUND_COLOR, BANDS, DECIMATION_POLICY, ELEVATION, FOOTPRINT_BEHAVIOR, GEOTOOLS_WRITE_PARAMS, INPUT_TRANSPARENT_COLOR, INTERPOLATION, mInfo, OVERVIEW_POLICY, PROGRESS_LISTENER, READ_GRIDGEOMETRY2D, readParameters, RESCALE_PIXELS, SUGGESTED_TILE_SIZE, TILE_SIZE_SEPARATOR, TIME, USE_IMAGEN_IMAGEREAD, writeParameters -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanTells me if thisFormatcan read the providedinput.Always returns null since for the moment there are noGeoToolsWriteParamsavailable for this format.Gets aGridCoverageReaderfor this format able to create coverages out of thesourceobject.Gets aGridCoverageReaderfor this format able to create coverages out of thesourceobject using the providedhints.Retrieves aGridCoverageWritersuitable for writing to the provideddestinationwith this format.Call the accepts() method before asking for a writer to determine if the current object is supported.Methods inherited from class AbstractGridFormat
accepts, equals, getDefaultCRS, getDescription, getDocURL, getName, getReadParameters, getVendor, getVersion, getWriteParametersMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Format
getDescription, getDocURL, getName, getReadParameters, getVendor, getVersion, getWriteParameters
-
Constructor Details
-
GrassCoverageFormat
public GrassCoverageFormat()Creates an instance and sets the metadata.
-
-
Method Details
-
getReader
Description copied from class:AbstractGridFormatGets aGridCoverageReaderfor this format able to create coverages out of thesourceobject.In case this
Formatcannot reader the providedsourceobjectnullis returned.- Specified by:
getReaderin classAbstractGridFormat- Parameters:
o- The source object to parse.- Returns:
- A reader for this
Formator null.
-
getWriter
Description copied from class:AbstractGridFormatCall the accepts() method before asking for a writer to determine if the current object is supported.- Specified by:
getWriterin classAbstractGridFormat- Parameters:
destination- the destination object to write a WorldImage tohints-Hintsto control the internal machinery.- Returns:
- a new WorldImageWriter for the destination
-
getWriter
Description copied from class:AbstractGridFormatRetrieves aGridCoverageWritersuitable for writing to the provideddestinationwith this format.In case no writers are available
nullis returned.- Specified by:
getWriterin classAbstractGridFormat- Parameters:
destination- The destinatin where to write.- Returns:
- A
GridCoverageWritersuitable for writing to the provideddestinationwith this format.
-
accepts
Description copied from class:AbstractGridFormatTells me if thisFormatcan read the providedinput.- Specified by:
acceptsin classAbstractGridFormat- Parameters:
o- The input object to test for suitability.hints-Hintsto control the accepts internal machinery.- Returns:
- True if this format can read this object, False otherwise.
-
getReader
Description copied from class:AbstractGridFormatGets aGridCoverageReaderfor this format able to create coverages out of thesourceobject using the providedhints.In case this
Formatcannot reader the providedsourceobjectnullis returned.- Specified by:
getReaderin classAbstractGridFormat- Parameters:
o- The source object to parse. *hints- TheHintsto use when trying to instantiate this reader.- Returns:
- A reader for this
Formator null.
-
getDefaultImageIOWriteParameters
Always returns null since for the moment there are noGeoToolsWriteParamsavailable for this format.- Specified by:
getDefaultImageIOWriteParametersin classAbstractGridFormat- Returns:
- always null.
-