public class Pep302ModuleImporter extends java.lang.Object implements IScriptEngineLaunchExtension
Constructor and Description |
---|
Pep302ModuleImporter() |
Modifier and Type | Method and Description |
---|---|
void |
createEngine(IScriptEngine engine)
Called upon a script engine creation.
|
static java.lang.String |
getCode(java.lang.String moduleName,
EnvironmentModule enviromentModule) |
static boolean |
isModule(java.lang.String candidate) |
static boolean |
isModulePath(java.lang.String candidate)
Verify if a given path is a subpath of an EASE module.
|
public static boolean isModulePath(java.lang.String candidate)
candidate
- module path name candidatetrue
when candidate is a path to an EASE modulepublic static boolean isModule(java.lang.String candidate)
public static java.lang.String getCode(java.lang.String moduleName, EnvironmentModule enviromentModule)
public void createEngine(IScriptEngine engine)
IScriptEngineLaunchExtension
createEngine
in interface IScriptEngineLaunchExtension
engine
- engine just created