org.geotools.gce.gtopo30
Class GTopo30Format

java.lang.Object
  extended byorg.geotools.data.coverage.grid.AbstractGridFormat
      extended byorg.geotools.gce.gtopo30.GTopo30Format
All Implemented Interfaces:
org.opengis.coverage.grid.Format

public class GTopo30Format
extends AbstractGridFormat
implements org.opengis.coverage.grid.Format

Provides basic information about the GeoTIFF format IO.

Author:
giannecchini, mkraemer

Field Summary
 
Fields inherited from class org.geotools.data.coverage.grid.AbstractGridFormat
CRSAuthorityfactoriesMap, mInfo, readParameters, writeParameters
 
Constructor Summary
GTopo30Format()
          Creates an instance and sets the metadata.
 
Method Summary
 boolean accepts(java.lang.Object o)
          Checks if the GTopo30DataSource supports a given file
 org.opengis.coverage.grid.GridCoverageReader getReader(java.lang.Object o)
          Returns a reader object which you can use to read GridCoverages from a given source
 org.opengis.coverage.grid.GridCoverageWriter getWriter(java.lang.Object destination)
          Returns a writer object which you can use to write GridCoverages to a given destination.
 
Methods inherited from class org.geotools.data.coverage.grid.AbstractGridFormat
addAuthorityFactory, equals, getAuthorityfactory, getDefaultCRS, getDescription, getDocURL, getName, getReadParameters, getVendor, getVersion, getWriteParameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opengis.coverage.grid.Format
getDescription, getDocURL, getName, getReadParameters, getVendor, getVersion, getWriteParameters
 

Constructor Detail

GTopo30Format

public GTopo30Format()
Creates an instance and sets the metadata.

Method Detail

getReader

public org.opengis.coverage.grid.GridCoverageReader getReader(java.lang.Object o)
Returns a reader object which you can use to read GridCoverages from a given source

Specified by:
getReader in class AbstractGridFormat
Parameters:
o - the the source object. This can be a File, an URL or a String (representing a filename or an URL)
Returns:
a GridCoverageReader object or null if the source object could not be accessed.

getWriter

public org.opengis.coverage.grid.GridCoverageWriter getWriter(java.lang.Object destination)
Returns a writer object which you can use to write GridCoverages to a given destination.

Specified by:
getWriter in class AbstractGridFormat
Parameters:
destination - The destination object
Returns:
a GridCoverageWriter object

accepts

public boolean accepts(java.lang.Object o)
Checks if the GTopo30DataSource supports a given file

Specified by:
accepts in class AbstractGridFormat
Parameters:
o - the source object to test for compatibility with this format. This can be a File, an URL or a String (representing a filename or an URL)
Returns:
if the source object is compatible


Copyright © GeoTools. All Rights Reserved.