org.geotools.gce.gtopo30
Class GTopo30Writer

Object
  extended by AbstractGridCoverageWriter
      extended by GTopo30Writer
All Implemented Interfaces:
GridCoverageWriter

public final class GTopo30Writer
extends AbstractGridCoverageWriter
implements GridCoverageWriter

Class used for encoding a GridCoverage2D into a GTOPO30 file.

Author:
Simone Giannecchini, jeichar, mkraemer
Module:
trunk/gt/plugin   (gt-plugin.jar) (Maven report) (SVN head)

Field Summary
 
Fields inherited from class AbstractGridCoverageWriter
destination, hints, outStream
 
Constructor Summary
GTopo30Writer(Object dest)
          Creates a GTopo30Writer.
GTopo30Writer(Object dest, Hints hints)
          Creates a GTopo30Writer.
 
Method Summary
 Format getFormat()
           
 void write(GridCoverage coverage, GeneralParameterValue[] params)
           
 
Methods inherited from class AbstractGridCoverageWriter
dispose, finalize, getDestination, getMetadataNames, setCurrentSubname, setMetadataValue
 
Methods inherited from class Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface GridCoverageWriter
dispose, getDestination, getMetadataNames, setCurrentSubname, setMetadataValue
 

Constructor Detail

GTopo30Writer

public GTopo30Writer(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(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 Format getFormat()
Specified by:
getFormat in interface GridCoverageWriter
See Also:
GridCoverageWriter.getFormat()

write

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


Copyright © 1996-2009 Geotools. All Rights Reserved.