org.geotools.gce.gtopo30
Class GTopo30Writer

java.lang.Object
  extended by org.geotools.coverage.grid.io.AbstractGridCoverageWriter
      extended by org.geotools.gce.gtopo30.GTopo30Writer
All Implemented Interfaces:
org.opengis.coverage.grid.GridCoverageWriter

public final class GTopo30Writer
extends AbstractGridCoverageWriter
implements org.opengis.coverage.grid.GridCoverageWriter

Class used for encoding a GridCoverage2D into a GTOPO30 file.

Author:
Simone Giannecchini, jeichar, mkraemer

Field Summary
 
Fields inherited from class org.geotools.coverage.grid.io.AbstractGridCoverageWriter
destination, hints, outStream
 
Constructor Summary
GTopo30Writer(java.lang.Object dest)
          Creates a GTopo30Writer.
GTopo30Writer(java.lang.Object dest, Hints hints)
          Creates a GTopo30Writer.
 
Method Summary
 org.opengis.coverage.grid.Format getFormat()
           
 void write(org.opengis.coverage.grid.GridCoverage coverage, org.opengis.parameter.GeneralParameterValue[] params)
           
 
Methods inherited from class org.geotools.coverage.grid.io.AbstractGridCoverageWriter
dispose, 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
dispose, getDestination, getMetadataNames, setCurrentSubname, setMetadataValue
 

Constructor Detail

GTopo30Writer

public GTopo30Writer(java.lang.Object dest)
              throws DataSourceException
Creates a GTopo30Writer.

Parameters:
dest - The destination object can be a File (a directory actually), an URL to a directory, or a String representing a directory or an URL to a directory.
Throws:
DataSourceException

GTopo30Writer

public GTopo30Writer(java.lang.Object dest,
                     Hints hints)
              throws DataSourceException
Creates a GTopo30Writer.

Parameters:
dest - The destination object can be a File (a directory actually), an URL to a directory, or a String representing a directory or an URL to a directory.
Throws:
DataSourceException
Method Detail

getFormat

public org.opengis.coverage.grid.Format getFormat()
Specified by:
getFormat in interface org.opengis.coverage.grid.GridCoverageWriter
See Also:
GridCoverageWriter.getFormat()

write

public void write(org.opengis.coverage.grid.GridCoverage coverage,
                  org.opengis.parameter.GeneralParameterValue[] params)
           throws java.lang.IllegalArgumentException,
                  java.io.IOException
Specified by:
write in interface org.opengis.coverage.grid.GridCoverageWriter
Throws:
java.lang.IllegalArgumentException
java.io.IOException
See Also:
GridCoverageWriter.write(org.opengis.coverage.grid.GridCoverage, org.opengis.parameter.GeneralParameterValue[])


Copyright © 1996-2010 Geotools. All Rights Reserved.