org.geotools.referencing.factory.gridshift
Class ClasspathGridShiftLocator

Object
  extended by AbstractFactory
      extended by ClasspathGridShiftLocator
All Implemented Interfaces:
RegisterableService, Factory, GridShiftLocator

public class ClasspathGridShiftLocator
extends AbstractFactory
implements GridShiftLocator

Default grid shift file locator, looks up grids in the classpath

Author:
Andrea Aime - GeoSolutions

Field Summary
 
Fields inherited from class AbstractFactory
hints, MAXIMUM_PRIORITY, MINIMUM_PRIORITY, NORMAL_PRIORITY, priority
 
Constructor Summary
ClasspathGridShiftLocator()
           
 
Method Summary
 Citation getVendor()
          Returns the vendor responsible for creating this factory implementation.
 URL locateGrid(String grid)
          Locate the specified resource.
 
Methods inherited from class AbstractFactory
addImplementationHints, equals, getImplementationHints, getPriority, hashCode, onDeregistration, onRegistration, toString
 
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClasspathGridShiftLocator

public ClasspathGridShiftLocator()
Method Detail

getVendor

public Citation getVendor()
Description copied from interface: Factory
Returns the vendor responsible for creating this factory implementation. Many implementations may be available for the same factory interface. Implementations are usually managed by a service registry.

Returns:
The vendor for this factory implementation.

locateGrid

public URL locateGrid(String grid)
Description copied from interface: GridShiftLocator
Locate the specified resource.

Specified by:
locateGrid in interface GridShiftLocator
Parameters:
grid - the grid name/location
Returns:
the fully resolved URL of the grid or null, if the resource cannot be located.


Copyright © 1996-2014 Geotools. All Rights Reserved.