org.geotoolkit.coverage
Class CoverageFactoryFinder

Object
  extended by Static
      extended by CoverageFactoryFinder

Deprecated. Deprecated together with GridCoverageFactory. Will wait for a GeoAPI interface before to provide a new factory finder.

@Deprecated
public final class CoverageFactoryFinder
extends Static

Defines static methods used to access the application's default factory implementation.

WARNING: This class is temporary. The methods in this class should move to FactoryFinder. We can't move them now because we have not yet defined an interface abstract enough for GridCoverageFactory.

Since:
2.4
Version:
3.02
Author:
Martin Desruisseaux (IRD)
Module:
coverage/geotk-coverage (download)    View source code for this class

Method Summary
static GridCoverageProcessor getCoverageProcessor(Hints hints)
          Deprecated. Returns the first implementation of CoverageProcessor matching the specified hints.
static Set<GridCoverageProcessor> getCoverageProcessors(Hints hints)
          Deprecated. Returns a set of all available implementations for the CoverageProcessor interface.
static Set<GridCoverageFactory> getGridCoverageFactories(Hints hints)
          Deprecated. Returns a set of all available implementations for the GridCoverageFactory interface.
static GridCoverageFactory getGridCoverageFactory(Hints hints)
          Deprecated. Returns the first implementation of GridCoverageFactory matching the specified hints.
static void scanForPlugins()
          Deprecated. Scans for factory plug-ins on the application class path.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getGridCoverageFactory

public static GridCoverageFactory getGridCoverageFactory(Hints hints)
                                                  throws FactoryRegistryException
Deprecated. 
Returns the first implementation of GridCoverageFactory matching the specified hints. If no implementation matches, a new one is created if possible or an exception is thrown otherwise.

Parameters:
hints - An optional map of hints, or null if none.
Returns:
The first grid coverage factory that matches the supplied hints.
Throws:
FactoryRegistryException - if no implementation was found or can be created for the GridCoverageFactory interface.
See Also:
Hints.DEFAULT_COORDINATE_REFERENCE_SYSTEM, Hints.TILE_ENCODING

getGridCoverageFactories

public static Set<GridCoverageFactory> getGridCoverageFactories(Hints hints)
Deprecated. 
Returns a set of all available implementations for the GridCoverageFactory interface.

Parameters:
hints - An optional map of hints, or null if none.
Returns:
Set of available grid coverage factory implementations.
Since:
2.4

getCoverageProcessor

public static GridCoverageProcessor getCoverageProcessor(Hints hints)
                                                  throws FactoryRegistryException
Deprecated. 
Returns the first implementation of CoverageProcessor matching the specified hints. If no implementation matches, a new one is created if possible or an exception is thrown otherwise.

Parameters:
hints - An optional map of hints, or null if none.
Returns:
The first coverage processor that matches the supplied hints.
Throws:
FactoryRegistryException - if no implementation was found or can be created for the CoverageProcessor interface.
Since:
3.00
See Also:
Hints.GRID_COVERAGE_PROCESSOR

getCoverageProcessors

public static Set<GridCoverageProcessor> getCoverageProcessors(Hints hints)
Deprecated. 
Returns a set of all available implementations for the CoverageProcessor interface.

Parameters:
hints - An optional map of hints, or null if none.
Returns:
Set of available coverage processor implementations.
Since:
3.00

scanForPlugins

public static void scanForPlugins()
Deprecated. 
Scans for factory plug-ins on the application class path. This method is needed because the application class path can theoretically change, or additional plug-ins may become available. Rather than re-scanning the classpath on every invocation of the API, the class path is scanned automatically only on the first invocation. Clients can call this method to prompt a re-scan. Thus this method need only be invoked by sophisticated applications which dynamically make new plug-ins available at runtime.



Copyright © 2009-2012 Geotoolkit.org. All Rights Reserved.