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
create, filterInstances, getInstance, getInstances, initialize
getPlugins, getPluginService
dispose, getContext, registerEventHandlers, setContext, toString
compareTo, getInfo, getPriority, setInfo, setPriority
context
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getHandler, getInstances, supports
getInstance
create, getPlugins, getPluginService
initialize, registerEventHandlers
context, getContext, setContext
getPriority, setPriority
compareTo
getInfo, setInfo
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–2015 SciJava. All rights reserved.