Exemple #1
0
 public static LibRtJs jsLoadAlone(
     String path,
     Hashtable<String, Object>
         env) { // U: ejecutar un script en un contexto separado (no comparte variables salvo las
                // que le pasemos en el hashtable)
   return JsImpl.jsLoadAlone(path, env);
 }
Exemple #2
0
 public static Object jsCall(String funName, LibRtJs jsEnv, Object[] args)
     throws IOException, Exception {
   logm("DBG", 5, "RT JS CALL TRY", funName);
   return JsImpl.jsCall(funName, jsEnv, args);
 }
Exemple #3
0
 public static LibRtJs jsLoad(String path, LibRtJs jsEnv, String[] args)
     throws IOException, Exception {
   logm("DBG", 5, "RT JS LOAD TRY", path);
   return JsImpl.jsLoad(path, jsEnv, args);
 }
Exemple #4
0
 public static LibRtJs jsEval(String js, String srcDesc, LibRtJs jsEnv, String[] args)
     throws Exception {
   logm("DBG", 9, "RT JS EVAL START PATH=" + srcDesc + " SRC", js);
   return JsImpl.jsEval(js, srcDesc, jsEnv, args);
 }