org.geotools.gce.image
Class WorldImageFormatFactory

java.lang.Object
  extended byorg.geotools.gce.image.WorldImageFormatFactory
All Implemented Interfaces:
Factory, GridFormatFactorySpi

public class WorldImageFormatFactory
extends java.lang.Object
implements GridFormatFactorySpi

DOCUMENT ME!

Author:
rgould TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Constructor Summary
WorldImageFormatFactory()
           
 
Method Summary
 org.opengis.coverage.grid.Format createFormat()
          Construct a live grid format using the params specifed.
 java.util.Map getImplementationHints()
          Returns the implementation hints.
 boolean isAvailable()
          Test to see if this format is available, if it has all the appropriate libraries to construct a format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorldImageFormatFactory

public WorldImageFormatFactory()
Method Detail

createFormat

public org.opengis.coverage.grid.Format createFormat()
Description copied from interface: GridFormatFactorySpi
Construct a live grid format using the params specifed.

Specified by:
createFormat in interface GridFormatFactorySpi
Returns:
The created DataSource, this may be null if the required resource was not found or if insufficent parameters were given. Note that canProcess() should have returned false if the problem is to do with insuficent parameters.

isAvailable

public boolean isAvailable()
Description copied from interface: GridFormatFactorySpi
Test to see if this format is available, if it has all the appropriate libraries to construct a format.

Most datastores should return true, because geotools will distribute the appropriate libraries. Though it's not a bad idea for DataStoreFactories to check to make sure that the libraries are there.

Specified by:
isAvailable in interface GridFormatFactorySpi
Returns:
true if and only if this factory has all the appropriate jars on the classpath to handle a Format.

getImplementationHints

public java.util.Map getImplementationHints()
Returns the implementation hints. The default implementation returns en empty map.

Specified by:
getImplementationHints in interface Factory
Returns:
DOCUMENT ME!


Copyright © GeoTools. All Rights Reserved.