public static class DataFactoryScriptingSupport.ScriptHelper extends Object
Constructor and Description |
---|
ScriptHelper(ScriptContext context,
String defaultScriptLanguage,
ResourceManager resourceManager,
ResourceKey contextKey) |
Modifier and Type | Method and Description |
---|---|
Object |
eval(String script) |
Object |
eval(String script,
String scriptLanguage) |
Object |
evalFile(String file) |
Object |
evalFile(String file,
String language) |
Object |
evalFile(String file,
String defaultScriptLanguage,
String encoding) |
public ScriptHelper(ScriptContext context, String defaultScriptLanguage, ResourceManager resourceManager, ResourceKey contextKey)
public Object eval(String script) throws ScriptException
ScriptException
public Object eval(String script, String scriptLanguage) throws ScriptException
ScriptException
public Object evalFile(String file) throws ScriptException
ScriptException
public Object evalFile(String file, String language) throws ScriptException
ScriptException
public Object evalFile(String file, String defaultScriptLanguage, String encoding) throws ScriptException
ScriptException
Copyright © 2017 Hitachi Vantara. All rights reserved.