public class DefaultScriptHeaderService extends AbstractHandlerService<ScriptLanguage,ScriptHeader> implements ScriptHeaderService
ScriptHeaderService
implementation.Constructor and Description |
---|
DefaultScriptHeaderService() |
Modifier and Type | Method and Description |
---|---|
String |
getHeader(ScriptLanguage language)
Searches for all
ScriptHeader s capable of handling the given
ScriptLanguage and combines the result of their
ScriptHeader.getHeader() output to a single string. |
Class<ScriptHeader> |
getPluginType()
Gets the type of plugins managed by this service.
|
Class<ScriptLanguage> |
getType()
Gets the type associated with the object.
|
getHandler, supports
getInstance, getInstances, objectService
pluginService
dispose, getContext, setContext, toString
getInfo, getPriority, setInfo, setPriority
context
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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
public String getHeader(ScriptLanguage language)
ScriptHeaderService
ScriptHeader
s capable of handling the given
ScriptLanguage
and combines the result of their
ScriptHeader.getHeader()
output to a single string.getHeader
in interface ScriptHeaderService
language
- - Language to look uppublic Class<ScriptHeader> getPluginType()
PTService
getPluginType
in interface PTService<ScriptHeader>
public Class<ScriptLanguage> getType()
Typed
getType
in interface Typed<ScriptLanguage>
Copyright © 2009–2016 SciJava. All rights reserved.