public interface ScriptHeaderService extends HandlerService<ScriptLanguage,ScriptHeader>, SciJavaService
HandlerService capable of mapping
ScriptLanguages to ScriptHeaders.
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 ScriptHeaders for a given ScriptLanguage.
| Modifier and Type | Method and Description |
|---|---|
String |
getHeader(ScriptLanguage language)
Searches for all
ScriptHeaders capable of handling the given
ScriptLanguage and combines the result of their
ScriptHeader.getHeader() output to a single string. |
getHandler, getInstances, supportscreate, filterInstances, getInstance, initialize, objectServicefindgetPlugins, getPluginService, getPluginType, pluginServiceregisterEventHandlersgetIdentifier, logcontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationgetVersiondisposeString getHeader(ScriptLanguage language)
ScriptHeaders 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–2016 SciJava. All rights reserved.