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, setMetadataValueclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdispose, getDestination, getMetadataNames, setCurrentSubname, setMetadataValuepublic WorldImageWriter(Object destination)
public Format getFormat()
getFormat in interface GridCoverageWriterGridCoverageWriter.getFormat()public void write(GridCoverage coverage, GeneralParameterValue[] parameters) throws IllegalArgumentException, IOException
write in interface GridCoverageWritercoverage - 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.IllegalArgumentExceptionorg.opengis.coverage.grid.GridCoverageWriter#write(org.geotools.gc.GridCoverage,
org.opengis.parameter.GeneralParameterValue[])Copyright © 1996–2021 Geotools. All rights reserved.