tv.bodil.testlol
Class Shell

java.lang.Object
  extended by org.mozilla.javascript.ScriptableObject
      extended by tv.bodil.testlol.Shell
All Implemented Interfaces:
Serializable, org.mozilla.javascript.ConstProperties, org.mozilla.javascript.debug.DebuggableObject, org.mozilla.javascript.Scriptable

public class Shell
extends org.mozilla.javascript.ScriptableObject

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.mozilla.javascript.ScriptableObject
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST
 
Fields inherited from interface org.mozilla.javascript.Scriptable
NOT_FOUND
 
Constructor Summary
Shell(Testlol testlol, org.mozilla.javascript.Context cx)
           
 
Method Summary
 String getClassName()
           
static String getClasspathResource(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, Object[] args, org.mozilla.javascript.Function funObj)
           
static long getLolTimer(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, Object[] args, org.mozilla.javascript.Function funObj)
           
static Shell getShell(org.mozilla.javascript.Scriptable thisObj)
           
static void load(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, Object[] args, org.mozilla.javascript.Function funObj)
           
static void print(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, Object[] args, org.mozilla.javascript.Function funObj)
           
static Object readFile(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, Object[] args, org.mozilla.javascript.Function funObj)
           
static Object readUrl(org.mozilla.javascript.Context cx, org.mozilla.javascript.Scriptable thisObj, Object[] args, org.mozilla.javascript.Function funObj)
           
 
Methods inherited from class org.mozilla.javascript.ScriptableObject
associateValue, avoidObjectDetection, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, equivalentValues, get, get, getAllIds, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, has, has, hasInstance, hasProperty, hasProperty, isConst, isGetterOrSetter, isSealed, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Shell

public Shell(Testlol testlol,
             org.mozilla.javascript.Context cx)
Method Detail

getClassName

public String getClassName()
Specified by:
getClassName in interface org.mozilla.javascript.Scriptable
Specified by:
getClassName in class org.mozilla.javascript.ScriptableObject

getShell

public static Shell getShell(org.mozilla.javascript.Scriptable thisObj)

print

public static void print(org.mozilla.javascript.Context cx,
                         org.mozilla.javascript.Scriptable thisObj,
                         Object[] args,
                         org.mozilla.javascript.Function funObj)

load

public static void load(org.mozilla.javascript.Context cx,
                        org.mozilla.javascript.Scriptable thisObj,
                        Object[] args,
                        org.mozilla.javascript.Function funObj)

getClasspathResource

public static String getClasspathResource(org.mozilla.javascript.Context cx,
                                          org.mozilla.javascript.Scriptable thisObj,
                                          Object[] args,
                                          org.mozilla.javascript.Function funObj)

getLolTimer

public static long getLolTimer(org.mozilla.javascript.Context cx,
                               org.mozilla.javascript.Scriptable thisObj,
                               Object[] args,
                               org.mozilla.javascript.Function funObj)

readFile

public static Object readFile(org.mozilla.javascript.Context cx,
                              org.mozilla.javascript.Scriptable thisObj,
                              Object[] args,
                              org.mozilla.javascript.Function funObj)
                       throws IOException
Throws:
IOException

readUrl

public static Object readUrl(org.mozilla.javascript.Context cx,
                             org.mozilla.javascript.Scriptable thisObj,
                             Object[] args,
                             org.mozilla.javascript.Function funObj)
                      throws IOException
Throws:
IOException


Copyright © 2011. All Rights Reserved.