|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.coverage.grid.io.AbstractGridCoverageWriter
org.geotools.gce.arcgrid.ArcGridWriter
public final class ArcGridWriter
ArcGridWriter
supports writing of an ArcGrid GridCoverage to a
Desination object
XXX We cannot write a rotated grid coverage, we have to enforce that!
Field Summary |
---|
Fields inherited from class org.geotools.coverage.grid.io.AbstractGridCoverageWriter |
---|
destination, hints, outStream |
Constructor Summary | |
---|---|
ArcGridWriter(java.lang.Object destination)
Takes either a URL or a String that points to an ArcGridCoverage file and converts it to a URL that can then be written to. |
|
ArcGridWriter(java.lang.Object destination,
Hints hints)
Takes either a URL or a String that points to an ArcGridCoverage file and converts it to a URL that can then be written to. |
Method Summary | |
---|---|
void |
dispose()
Releases resources held by this AbstractGridCoverageWriter . |
org.opengis.coverage.grid.Format |
getFormat()
Creates a Format object describing the Arc Grid Format |
void |
write(org.opengis.coverage.grid.GridCoverage coverage,
org.opengis.parameter.GeneralParameterValue[] parameters)
Note: The geotools GridCoverage class does not implement the geoAPI GridCoverage Interface so this method shows an error. |
Methods inherited from class org.geotools.coverage.grid.io.AbstractGridCoverageWriter |
---|
finalize, getDestination, getMetadataNames, setCurrentSubname, setMetadataValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.opengis.coverage.grid.GridCoverageWriter |
---|
getDestination, getMetadataNames, setCurrentSubname, setMetadataValue |
Constructor Detail |
---|
public ArcGridWriter(java.lang.Object destination) throws DataSourceException
destination
- the URL or String pointing to the file to load the ArcGrid
DataSourceException
public ArcGridWriter(java.lang.Object destination, Hints hints) throws DataSourceException
destination
- the URL or String pointing to the file to load the ArcGrid
DataSourceException
Method Detail |
---|
public org.opengis.coverage.grid.Format getFormat()
getFormat
in interface org.opengis.coverage.grid.GridCoverageWriter
GridCoverageWriter.getFormat()
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
java.lang.IllegalArgumentException
java.io.IOException
GridCoverageWriter.write(org.opengis.coverage.grid.GridCoverage,
org.opengis.parameter.GeneralParameterValue[])
public void dispose()
AbstractGridCoverageWriter
AbstractGridCoverageWriter
.
dispose
in interface org.opengis.coverage.grid.GridCoverageWriter
dispose
in class AbstractGridCoverageWriter
GridCoverageWriter.dispose()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |