public interface ScriptHeaderService extends HandlerService<ScriptLanguage,ScriptHeader>, SciJavaService
HandlerService
capable of mapping
ScriptLanguage
s to ScriptHeader
s.
NB: although individual/highest priority handlers can be queried as normal
via a HandlerService
, the
getHeader(ScriptLanguage)
method will combine the headers
for all available ScriptHeader
s for a given ScriptLanguage
.
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. |
getHandler, getInstances, supports
getInstance
create, getPlugins, getPluginService, getPluginType
initialize, registerEventHandlers
context, getContext, setContext
getPriority, setPriority
compareTo
getInfo, setInfo
dispose
String getHeader(ScriptLanguage language)
ScriptHeader
s capable of handling the given
ScriptLanguage
and combines the result of their
ScriptHeader.getHeader()
output to a single string.language
- - Language to look upCopyright © 2009–2015 SciJava. All rights reserved.