public class ConsoleWrap extends Object implements InternalNodeModule
| Modifier and Type | Class and Description |
|---|---|
static class |
ConsoleWrap.ConsoleWrapImpl |
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_WINDOW_COLS
We don't know the actual window size in Java, so guess:
|
static int |
DEFAULT_WINDOW_ROWS |
static String |
MODULE_NAME |
| Constructor and Description |
|---|
ConsoleWrap() |
| Modifier and Type | Method and Description |
|---|---|
String |
getModuleName() |
org.mozilla.javascript.Scriptable |
registerExports(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable scope,
NodeRuntime runtime) |
public static final String MODULE_NAME
public static final int DEFAULT_WINDOW_COLS
public static final int DEFAULT_WINDOW_ROWS
public String getModuleName()
getModuleName in interface NodeModulepublic org.mozilla.javascript.Scriptable registerExports(org.mozilla.javascript.Context cx,
org.mozilla.javascript.Scriptable scope,
NodeRuntime runtime)
throws InvocationTargetException,
IllegalAccessException,
InstantiationException
registerExports in interface NodeModuleInvocationTargetExceptionIllegalAccessExceptionInstantiationExceptionCopyright © 2015 Apigee Corporation. All Rights Reserved.