|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.geotools.gce.arcgrid.ArcGridWriter
ArcGridWriter Supports writing of an ArcGrid GridCoverage to an Desination object, provided the desination object can be converted to a PrintWriter with the IOExchange
| 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. |
|
| Method Summary | |
void |
dispose()
|
java.lang.Object |
getDestination()
Returns the destination object passed to it by the GridCoverageExchange |
org.opengis.coverage.grid.Format |
getFormat()
Creates a Format object describing the Arc Grid Format |
java.lang.String[] |
getMetadataNames()
Implementation of getMetadataNames. |
void |
setCurrentSubname(java.lang.String name)
|
void |
setMetadataValue(java.lang.String name,
java.lang.String value)
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ArcGridWriter(java.lang.Object destination)
destination - the URL or String pointing to the file to load the
ArcGrid| Method Detail |
public java.lang.String[] getMetadataNames()
getMetadataNames in interface org.opengis.coverage.grid.GridCoverageWriterGridCoverageWriter.getMetadataNames()public org.opengis.coverage.grid.Format getFormat()
getFormat in interface org.opengis.coverage.grid.GridCoverageWriterGridCoverageWriter.getFormat()public java.lang.Object getDestination()
getDestination in interface org.opengis.coverage.grid.GridCoverageWriterGridCoverageWriter.getDestination()
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.GridCoverageWriterjava.io.IOException
org.opengis.coverage.MetadataNameNotFoundExceptionGridCoverageWriter.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.GridCoverageWriterjava.io.IOExceptionGridCoverageWriter.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.GridCoverageWriterjava.lang.IllegalArgumentException
java.io.IOExceptionGridCoverageWriter.write(org.opengis.coverage.grid.GridCoverage,
org.opengis.parameter.GeneralParameterValue[])
public void dispose()
throws java.io.IOException
dispose in interface org.opengis.coverage.grid.GridCoverageWriterjava.io.IOExceptionGridCoverageWriter.dispose()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||