Package org.scijava.io.location
Class AbstractLocationResolver
- java.lang.Object
-
- org.scijava.AbstractContextual
-
- org.scijava.plugin.AbstractRichPlugin
-
- org.scijava.plugin.AbstractTypedPlugin<D>
-
- org.scijava.plugin.AbstractHandlerPlugin<URI>
-
- org.scijava.io.location.AbstractLocationResolver
-
- All Implemented Interfaces:
Comparable<Prioritized>,Contextual,Identifiable,LocationResolver,Locatable,Logged,HandlerPlugin<URI>,HasPluginInfo,RichPlugin,SciJavaPlugin,SingletonPlugin,TypedPlugin<URI>,Prioritized,Typed<URI>,Versioned
- Direct Known Subclasses:
FileLocationResolver
public abstract class AbstractLocationResolver extends AbstractHandlerPlugin<URI> implements LocationResolver
Abstract super class forLocationResolverplugins.- Author:
- Gabriel Einsdorf
-
-
Constructor Summary
Constructors Constructor Description AbstractLocationResolver(String... schemes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<URI>getType()Gets the type associated with the object.booleansupports(URI uri)Gets whether this object is compatible with the given data object.-
Methods inherited from class org.scijava.plugin.AbstractRichPlugin
getInfo, getPriority, setInfo, setPriority, toString
-
Methods inherited from class org.scijava.AbstractContextual
context, getContext
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.scijava.Contextual
context, getContext, setContext
-
Methods inherited from interface org.scijava.plugin.HasPluginInfo
getInfo, setInfo
-
Methods inherited from interface org.scijava.Locatable
getLocation
-
Methods inherited from interface org.scijava.io.location.LocationResolver
resolve
-
Methods inherited from interface org.scijava.Prioritized
compareTo, getPriority, setPriority
-
Methods inherited from interface org.scijava.plugin.RichPlugin
getIdentifier, log
-
Methods inherited from interface org.scijava.Versioned
getVersion
-
-
-
-
Constructor Detail
-
AbstractLocationResolver
public AbstractLocationResolver(String... schemes)
- Parameters:
schemes- the uri schmemes that the implementing sub-type supports
-
-
Method Detail
-
supports
public boolean supports(URI uri)
Description copied from interface:TypedGets whether this object is compatible with the given data object.By default, this method will return
trueiff the data is assignable to the associated type given byTyped.getType(). But individual implementations may have other requirements beyond class assignability.
-
-