public final class CoordinateHandlerFinder extends Object
In order to be located by this finder modules must provide an implementation of the CoordinateHandlerSpi
interface.
In addition to implementing this interface, this service file should be defined:
META-INF/services/org.geotools.imageio.netcdf.cv.CoordinateHandlerSpi
*
Example:
org.geotools.imageio.netcdf.cv.ClimatologicalTimeHandlerSPI
Modifier and Type | Method and Description |
---|---|
static CoordinateHandlerSpi.CoordinateHandler |
findHandler(CoordinateAxis axis)
Returns a
CoordinateHandlerSpi.CoordinateHandler that is able to handle a certain coordinate axis. |
static Set<CoordinateHandlerSpi.CoordinateHandler> |
findHandlers(CoordinateAxis axis)
Returns all the
CoordinateHandlerSpi.CoordinateHandler s that can handle the supplied CoordinateAxis1D axis. |
static Set<CoordinateHandlerSpi> |
getAvailableHandlers()
Finds all available implementations of
CoordinateHandlerSpi which have registered
using the services mechanism. |
static void |
scanForPlugins()
Scans for factory plug-ins on the application class path.
|
public static Set<CoordinateHandlerSpi> getAvailableHandlers()
CoordinateHandlerSpi
which have registered
using the services mechanism.Set
of all discovered modules which have registered factoriespublic static void scanForPlugins()
public static Set<CoordinateHandlerSpi.CoordinateHandler> findHandlers(CoordinateAxis axis)
CoordinateHandlerSpi.CoordinateHandler
s that can handle the supplied CoordinateAxis1D
axis.axis
- is the axis to search a CoordinateHandlerSpi.CoordinateHandler
that is able to handleSet
comprising all the CoordinateHandlerSpi.CoordinateHandler
that can
handle the CoordinateAxis1D
axis.public static CoordinateHandlerSpi.CoordinateHandler findHandler(CoordinateAxis axis)
CoordinateHandlerSpi.CoordinateHandler
that is able to handle a certain coordinate axis.axis
- the object to check for acceptance.Copyright © 1996–2019 Geotools. All rights reserved.