public class ScriptIOPlugin extends AbstractIOPlugin<String>
IOPlugin
for scripts.ScriptService
Constructor and Description |
---|
ScriptIOPlugin() |
Modifier and Type | Method and Description |
---|---|
Class<String> |
getDataType()
The type of data opened and/or saved by the plugin.
|
String |
open(String source)
Opens data from the given source.
|
boolean |
supportsOpen(String source)
Checks whether the I/O plugin can open data from the given source.
|
getType, save, supports, supportsSave, supportsSave
getInfo, getPriority, setInfo, setPriority, toString
context, getContext, setContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getIdentifier, log
context, getContext, setContext
compareTo, getPriority, setPriority
getInfo, setInfo
getLocation
getVersion
public Class<String> getDataType()
IOPlugin
public boolean supportsOpen(String source)
IOPlugin
supportsOpen
in interface IOPlugin<String>
supportsOpen
in class AbstractIOPlugin<String>
public String open(String source) throws IOException
IOPlugin
open
in interface IOPlugin<String>
open
in class AbstractIOPlugin<String>
IOException
Copyright © 2009–2016 SciJava. All rights reserved.