Class ClasspathGridShiftLocator
- Object
-
- AbstractFactory
-
- ClasspathGridShiftLocator
-
- All Implemented Interfaces:
Factory,GridShiftLocator,Factory,RegistrableFactory
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
Constructors Constructor Description ClasspathGridShiftLocator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CitationgetVendor()Returns the vendor responsible for creating this factory implementation.URLlocateGrid(String grid)Locate the specified resource.-
Methods inherited from class AbstractFactory
addImplementationHints, equals, getImplementationHints, getPriority, hashCode, onDeregistration, onRegistration, toString
-
-
-
-
Method Detail
-
getVendor
public Citation getVendor()
Description copied from interface:FactoryReturns 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.
-
locateGrid
public URL locateGrid(String grid)
Description copied from interface:GridShiftLocatorLocate the specified resource.- Specified by:
locateGridin interfaceGridShiftLocator- Parameters:
grid- the grid name/location- Returns:
- the fully resolved URL of the grid or null, if the resource cannot be located.
-
-