public final class ScriptExecutorFactory extends Object
Modifier and Type | Method and Description |
---|---|
static String |
deriveLanguageFromFileExtension(String scriptLocation)
Derive a scripting language from the provided script file name.
|
static ScriptExecutor |
getScriptExecutor(String language) |
public static ScriptExecutor getScriptExecutor(String language)
public static String deriveLanguageFromFileExtension(String scriptLocation)
scriptLocation
- the script file to consult for extension.ScriptExecutor
.