| java.lang.Object oscript.OscriptBuiltins
OscriptBuiltins | public class OscriptBuiltins (Code) | | Built in functions, etc...
author: Rob Clark (rob@ti.com) author: version: 1.14 |
atExit | public static synchronized void atExit(Runnable r, int priority)(Code) | | Register a hook to be called at system exit. The runnables are
prioritized, and the ones with higher priority (lower numerical
priority value) will be invoked first.
Parameters: r - runnable to call Parameters: priority - lower numerical value is higher priority |
exit | public static void exit(int status)(Code) | | Exit... this is a bit safer than calling System.exit() directly,
because it will run the at-exit runnables *before* calling exit.
They should still be run *in theory* if you call System.exit()
directly, but it seems that is not always reliable
|
init | final static void init()(Code) | | |
runStringTest | final public static long runStringTest(int cnt)(Code) | | |
setErr | public static void setErr(PrintStream err)(Code) | | Set the error stream.
Parameters: err - the stream to use for error output |
setIn | public static void setIn(InputStream in)(Code) | | Set the input stream.
Parameters: in - the stream to use for input |
setOut | public static void setOut(PrintStream out)(Code) | | Set the output stream.
Parameters: out - the stream to use for output |
|
|