|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecttv.bodil.testlol.ScriptLoader
public class ScriptLoader
| Constructor Summary | |
|---|---|
ScriptLoader()
|
|
| Method Summary | |
|---|---|
static org.mozilla.javascript.Script |
compileScript(org.mozilla.javascript.Context cx,
String path)
|
static File |
copyClasspathResource(org.mozilla.javascript.Context cx,
String path)
|
static void |
evaluateScript(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable scope,
File file,
String path)
|
static List<File> |
findTests(File path)
|
static boolean |
isScript(File path)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScriptLoader()
| Method Detail |
|---|
public static boolean isScript(File path)
public static List<File> findTests(File path)
public static void evaluateScript(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable scope,
File file,
String path)
throws IOException
IOException
public static org.mozilla.javascript.Script compileScript(org.mozilla.javascript.Context cx,
String path)
throws IOException
IOException
public static File copyClasspathResource(org.mozilla.javascript.Context cx,
String path)
throws IOException
IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||