Package org.scijava.text.io
Class TextIOPlugin
-
- All Implemented Interfaces:
Comparable<Prioritized>,Contextual,Identifiable,IOPlugin<String>,Locatable,Logged,HandlerPlugin<Location>,HasPluginInfo,RichPlugin,SciJavaPlugin,SingletonPlugin,TypedPlugin<Location>,Prioritized,Typed<Location>,Versioned
public class TextIOPlugin extends AbstractIOPlugin<String>
IOPluginfor text conversion to HTML.- Author:
- Curtis Rueden
- See Also:
TextService
-
-
Constructor Summary
Constructors Constructor Description TextIOPlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<String>getDataType()The type of data opened and/or saved by the plugin.Stringopen(Location source)Opens data from the given location.booleansupportsOpen(Location source)Checks whether the I/O plugin can open data from the given location.-
Methods inherited from class org.scijava.io.AbstractIOPlugin
open, save, supportsOpen, supportsSave
-
Methods inherited from class org.scijava.plugin.AbstractTypedPlugin
supports
-
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.io.IOPlugin
getType, save, supports, supportsSave, supportsSave, supportsSave
-
Methods inherited from interface org.scijava.Locatable
getLocation
-
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
-
-
-
-
Method Detail
-
getDataType
public Class<String> getDataType()
Description copied from interface:IOPluginThe type of data opened and/or saved by the plugin.
-
supportsOpen
public boolean supportsOpen(Location source)
Description copied from interface:IOPluginChecks whether the I/O plugin can open data from the given location.
-
open
public String open(Location source) throws IOException
Description copied from interface:IOPluginOpens data from the given location.- Throws:
IOException
-
-