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, supports
create, filterInstances, getInstance, initialize, objectService
find
getPlugins, getPluginService, pluginService
registerEventHandlers
getIdentifier, log
context, getContext, setContext
compareTo, getPriority, setPriority
getInfo, setInfo
getLocation
getVersion
dispose
default Location resolve(String uriString) throws URISyntaxException
uriString
- the uri to resolveLocation
URISyntaxException
- 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()
PTService
getPluginType
in interface PTService<LocationResolver>
Copyright © 2015–2022 SciJava. All rights reserved.