org.scijava.text
Class AbstractTextFormat
java.lang.Object
org.scijava.AbstractContextual
org.scijava.plugin.AbstractRichPlugin
org.scijava.plugin.AbstractTypedPlugin<D>
org.scijava.plugin.AbstractHandlerPlugin<File>
org.scijava.text.AbstractTextFormat
- All Implemented Interfaces:
- Comparable<Prioritized>, Contextual, HandlerPlugin<File>, HasPluginInfo, RichPlugin, SciJavaPlugin, SingletonPlugin, TypedPlugin<File>, Prioritized, TextFormat, Typed<File>
public abstract class AbstractTextFormat
- extends AbstractHandlerPlugin<File>
- implements TextFormat
Abstract superclass of TextFormat implementations.
- Author:
- Curtis Rueden
|
Method Summary |
Class<File> |
getType()
Gets the type associated with the object. |
boolean |
supports(File file)
Gets whether this object is compatible with the given data object. |
AbstractTextFormat
public AbstractTextFormat()
supports
public boolean supports(File file)
- Description copied from interface:
Typed
- Gets whether this object is compatible with the given data object.
Typically, this will be the case when data.getClass() is assignable
to the type associated with the object (i.e., the one returned by
Typed.getType()). But individual implementations may have other
requirements beyond class assignability.
- Specified by:
supports in interface Typed<File>- Overrides:
supports in class AbstractTypedPlugin<File>
getType
public Class<File> getType()
- Description copied from interface:
Typed
- Gets the type associated with the object.
- Specified by:
getType in interface Typed<File>
Copyright © 2009–2014 SciJava. All rights reserved.