public final class RuntimeEnvironments extends Object
| Modifier and Type | Method and Description |
|---|---|
static RuntimeEnvironment |
system()
Returns the system runtime environment.
|
static RuntimeEnvironment |
system(InputStream in,
OutputStream out,
OutputStream err)
Returns the system runtime environment that uses the specified standard input,
output and error streams.
|
public static RuntimeEnvironment system()
Methods in this environment methods delegate to the system environment accessible by the Java Virtual Machine.
public static RuntimeEnvironment system(InputStream in, OutputStream out, OutputStream err)
in - the standard input stream, may be nullout - the standard output stream, may be nullerr - the standard error stream, may be nullCopyright © 2016–2017. All rights reserved.