public final class WorldImageWriter extends AbstractGridCoverageWriter implements GridCoverageWriter
destination, hints, outStream
Constructor and Description |
---|
WorldImageWriter(Object destination)
Destination must be a File.
|
WorldImageWriter(Object destination,
Hints hints)
Destination must be a File.
|
Modifier and Type | Method and Description |
---|---|
Format |
getFormat()
(non-Javadoc)
|
void |
write(GridCoverage coverage,
GeneralParameterValue[] parameters)
Takes a GridCoverage and writes the image to the destination file.
|
dispose, finalize, getDestination, getMetadataNames, setCurrentSubname, setMetadataValue
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
dispose, getDestination, getMetadataNames, setCurrentSubname, setMetadataValue
public WorldImageWriter(Object destination)
public Format getFormat()
getFormat
in interface GridCoverageWriter
GridCoverageWriter.getFormat()
public void write(GridCoverage coverage, GeneralParameterValue[] parameters) throws IllegalArgumentException, IOException
write
in interface GridCoverageWriter
coverage
- the GridCoverage to write.parameters
- no parameters are accepted. Currently ignored.InvalidParameterNameException
- if a parameter in parameters
doesn't have a
recognized name.InvalidParameterValueException
- if a parameter in parameters
doesn't have a
valid value.ParameterNotFoundException
- if a parameter was required for the operation but was not
provided in the parameters
list.IOException
- if the export failed for some other input/output reason, including IIOException
if an error was thrown by the underlying image library.IllegalArgumentException
org.opengis.coverage.grid.GridCoverageWriter#write(org.geotools.gc.GridCoverage,
org.opengis.parameter.GeneralParameterValue[])
Copyright © 1996–2021 Geotools. All rights reserved.