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.
|
LocationResolver |
getResolver(URI uri)
Returns a
LocationResolver capable of resolving URL like the one
provided to this method. |
default Class<URI> |
getType()
Gets the type associated with the object.
|
default Location |
resolve(String uri)
|
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 uri) throws URISyntaxException
uri - the uri to resolveLocationURISyntaxException - if the URI is malformeddefault Location resolve(URI uri) throws URISyntaxException
URI to a location.uri - the uri to resolveLocation or null if no resolver
could be found.URISyntaxException - if the URI is malformedLocationResolver getResolver(URI uri)
LocationResolver capable of resolving URL like the one
provided to this method. Allows faster repeated resolving of similar URIs
without going through this service.uri - the uriLocationResolver for this uri type, or
null if no resolver could be found.default Class<LocationResolver> getPluginType()
PTServicegetPluginType in interface PTService<LocationResolver>Copyright © 2009–2018 SciJava. All rights reserved.