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
  • Constructor Details

    • ClasspathGridShiftLocator

      public ClasspathGridShiftLocator()
  • Method Details

    • 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.
      Specified by:
      getVendor in interface Factory
      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.