|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.gce.image.WorldImageWriter
Writes a GridCoverage to a raster image file and an accompanying world file. The destination specified must point to the location of the raster file to write to, as this is how the format is determined. The directory that file is located in must also already exist.
Constructor Summary | |
WorldImageWriter(java.lang.Object destination)
Destination must be a File. |
Method Summary | |
void |
dispose()
Cleans up the writer. |
java.lang.Object |
getDestination()
(non-Javadoc) |
org.opengis.coverage.grid.Format |
getFormat()
(non-Javadoc) |
java.lang.String[] |
getMetadataNames()
(non-Javadoc) |
void |
setCurrentSubname(java.lang.String name)
(non-Javadoc) |
void |
setMetadataValue(java.lang.String name,
java.lang.String value)
(non-Javadoc) |
void |
write(org.opengis.coverage.grid.GridCoverage coverage,
org.opengis.parameter.GeneralParameterValue[] parameters)
Takes a GridCoverage and writes the image to the destination file. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WorldImageWriter(java.lang.Object destination)
destination
- Method Detail |
public org.opengis.coverage.grid.Format getFormat()
getFormat
in interface org.opengis.coverage.grid.GridCoverageWriter
GridCoverageWriter.getFormat()
public java.lang.Object getDestination()
getDestination
in interface org.opengis.coverage.grid.GridCoverageWriter
GridCoverageWriter.getDestination()
public java.lang.String[] getMetadataNames()
getMetadataNames
in interface org.opengis.coverage.grid.GridCoverageWriter
GridCoverageWriter.getMetadataNames()
public void setMetadataValue(java.lang.String name, java.lang.String value) throws java.io.IOException, org.opengis.coverage.MetadataNameNotFoundException
setMetadataValue
in interface org.opengis.coverage.grid.GridCoverageWriter
java.io.IOException
org.opengis.coverage.MetadataNameNotFoundException
GridCoverageWriter.setMetadataValue(java.lang.String, java.lang.String)
public void setCurrentSubname(java.lang.String name) throws java.io.IOException
setCurrentSubname
in interface org.opengis.coverage.grid.GridCoverageWriter
java.io.IOException
GridCoverageWriter.setCurrentSubname(java.lang.String)
public void write(org.opengis.coverage.grid.GridCoverage coverage, org.opengis.parameter.GeneralParameterValue[] parameters) throws java.lang.IllegalArgumentException, java.io.IOException
write
in interface org.opengis.coverage.grid.GridCoverageWriter
coverage
- the GridCoverage to write.parameters
- no parameters are accepted. Currently ignored.
java.lang.IllegalArgumentException
- DOCUMENT ME!
java.io.IOException
- DOCUMENT ME!org.opengis.coverage.grid.GridCoverageWriter#write(org.geotools.gc.GridCoverage, org.opengis.parameter.GeneralParameterValue[])
public void dispose() throws java.io.IOException
dispose
in interface org.opengis.coverage.grid.GridCoverageWriter
java.io.IOException
- DOCUMENT ME!
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |