|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectAbstractGridFormat
UnknownFormat
public class UnknownFormat
This class can be used when a proper Format
cannot be found for some
input sources.
It implements the abstract method of AbstractGridFormat
but it always
returns null to indicate that the format it represents is unknown.
Field Summary |
---|
Fields inherited from class AbstractGridFormat |
---|
GEOTOOLS_WRITE_PARAMS, mInfo, OVERVIEW_POLICY, READ_GRIDGEOMETRY2D, readParameters, USE_JAI_IMAGEREAD, writeParameters |
Constructor Summary | |
---|---|
UnknownFormat()
Creates a new UnknownFormat object. |
Method Summary | |
---|---|
boolean |
accepts(Object input)
Tells me if this Format can read the provided input . |
GeoToolsWriteParams |
getDefaultImageIOWriteParameters()
Returns an instance of ImageWriteParam that can be used to
control a subsequent
GridCoverageWriter.write(org.opengis.coverage.grid.GridCoverage, org.opengis.parameter.GeneralParameterValue[]) ;
Be careful with using the ImageWriteParam since their usage is
still experimental. |
AbstractGridCoverage2DReader |
getReader(Object source)
Gets a GridCoverageReader for this format able to create
coverages out of the source object. |
AbstractGridCoverage2DReader |
getReader(Object source,
Hints hints)
Gets a GridCoverageReader for this format able to create
coverages out of the source object using the provided
hints . |
ParameterValueGroup |
getReadParameters()
|
ParameterValueGroup |
getWriteParameters()
|
GridCoverageWriter |
getWriter(Object destination)
Retrieves a GridCoverageWriter suitable for writing to the
provided destination with this format. |
Methods inherited from class AbstractGridFormat |
---|
equals, getDefaultCRS, getDescription, getDocURL, getName, getVendor, getVersion |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface Format |
---|
getDescription, getDocURL, getName, getVendor, getVersion |
Constructor Detail |
---|
public UnknownFormat()
Method Detail |
---|
public AbstractGridCoverage2DReader getReader(Object source)
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
source
- The source object to parse.
Format
or null.AbstractGridFormat.getReader(Object)
public GridCoverageWriter getWriter(Object destination)
AbstractGridFormat
GridCoverageWriter
suitable for writing to the
provided destination
with this format.
In case no writers are availaible null
is returned.
getWriter
in class AbstractGridFormat
destination
- The destinatin where to write.
GridCoverageWriter
suitable for writing to the provided
destination
with this format.AbstractGridFormat.getWriter(Object)
public AbstractGridCoverage2DReader getReader(Object source, 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
source
- The source object to parse. *hints
- The Hints
to use when trying to instantiate this
reader.
Format
or null.AbstractGridFormat.getReader(Object, Hints)
public GeoToolsWriteParams getDefaultImageIOWriteParameters()
AbstractGridFormat
ImageWriteParam
that can be used to
control a subsequent
GridCoverageWriter.write(org.opengis.coverage.grid.GridCoverage, org.opengis.parameter.GeneralParameterValue[])
;
Be careful with using the ImageWriteParam
since their usage is
still experimental.
getDefaultImageIOWriteParameters
in class AbstractGridFormat
ImageWriteParam
.AbstractGridFormat.getDefaultImageIOWriteParameters()
public boolean accepts(Object input)
AbstractGridFormat
Format
can read the provided input
.
accepts
in class AbstractGridFormat
input
- The input object to test for suitablilty.
AbstractGridFormat.accepts(Object)
public ParameterValueGroup getReadParameters()
getReadParameters
in interface Format
getReadParameters
in class AbstractGridFormat
public ParameterValueGroup getWriteParameters()
getWriteParameters
in interface Format
getWriteParameters
in class AbstractGridFormat
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |