org.geotools.data.coverage.grid
Class GridFormatFinder

java.lang.Object
  extended byorg.geotools.data.coverage.grid.GridFormatFinder

public final class GridFormatFinder
extends java.lang.Object

Enable programs to find all available grid format implementations.

In order to be located by this finder datasources must provide an implementation of the GridFormatFactorySpi interface.

In addition to implementing this interface datasouces should have a services file:
META-INF/services/org.geotools.data.GridFormatFactorySpi

The file should contain a single line which gives the full name of the implementing class.

Example:
org.geotools.data.mytype.MyTypeDataStoreFacotry


Method Summary
static org.opengis.coverage.grid.Format findFormat(java.lang.Object o)
           
static java.util.Iterator getAvailableFormats()
          Finds all implemtaions of DataStoreFactory which have registered using the services mechanism, and that have the appropriate libraries on the classpath.
static org.opengis.coverage.grid.Format[] getFormatArray()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAvailableFormats

public static java.util.Iterator getAvailableFormats()
Finds all implemtaions of DataStoreFactory which have registered using the services mechanism, and that have the appropriate libraries on the classpath.

Returns:
An iterator over all discovered datastores which have registered factories, and whose available method returns true.

getFormatArray

public static org.opengis.coverage.grid.Format[] getFormatArray()

findFormat

public static org.opengis.coverage.grid.Format findFormat(java.lang.Object o)


Copyright © GeoTools. All Rights Reserved.