
public final class System extends Object
| Modifier and Type | Field and Description |
|---|---|
static PrintStream |
err
Does nothing in web mode.
|
static PrintStream |
out
Does nothing in web mode.
|
| Constructor and Description |
|---|
System() |
| Modifier and Type | Method and Description |
|---|---|
static void |
arraycopy(Object src,
int srcOfs,
Object dest,
int destOfs,
int len) |
static long |
currentTimeMillis() |
static void |
gc()
Has no effect; just here for source compatibility.
|
static String |
getProperty(String key)
The compiler replaces getProperty by the actual value of the property.
|
static String |
getProperty(String key,
String def)
The compiler replaces getProperty by the actual value of the property.
|
static int |
identityHashCode(Object o) |
static void |
setErr(PrintStream err) |
static void |
setOut(PrintStream out) |
public static PrintStream err
setErr(PrintStream).public static PrintStream out
PrintStream and call setOut(PrintStream).public static long currentTimeMillis()
public static void gc()
@JsMethod(name="$getDefine",
namespace="nativebootstrap.Util")
public static String getProperty(String key)
@JsMethod(name="$getDefine",
namespace="nativebootstrap.Util")
public static String getProperty(String key,
String def)
public static int identityHashCode(Object o)
public static void setErr(PrintStream err)
public static void setOut(PrintStream out)
Copyright © 2018. All rights reserved.