public interface LocationService extends HandlerService<URI,LocationResolver>, SciJavaService
LocationResolver plugins for translation.| Modifier and Type | Method and Description |
|---|---|
default Class<LocationResolver> |
getPluginType()
Gets the type of plugins managed by this service.
|
default LocationResolver |
getResolver(URI uri)
Deprecated.
Use
HandlerService.getHandler(DT) instead. |
default Class<URI> |
getType()
Gets the type associated with the object.
|
default Location |
resolve(String uriString)
|
default Location |
resolve(URI uri)
Resolves the given
URI to a location. |
getHandler, getInstances, supportscreate, filterInstances, getInstance, initialize, objectServicefindgetPlugins, getPluginService, pluginServiceregisterEventHandlersgetIdentifier, logcontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationgetVersiondisposedefault Location resolve(String uriString) throws URISyntaxException
uriString - the uri to resolveLocationURISyntaxException - if the URI is malformeddefault Location resolve(URI uri) throws URISyntaxException
URI to a location. If the scheme part of
the URI is null the path component is resolved as a local file.uri - the uri to resolveLocation or null if no resolver
could be found.URISyntaxException - if the URI is malformed@Deprecated default LocationResolver getResolver(URI uri)
HandlerService.getHandler(DT) instead.default Class<LocationResolver> getPluginType()
PTServicegetPluginType in interface PTService<LocationResolver>Copyright © 2015–2022 SciJava. All rights reserved.