public final class PolyglotRuntime.Builder extends Object
PolyglotRuntime.| Modifier and Type | Method and Description |
|---|---|
PolyglotRuntime |
build()
Creates new instance of a runtime.
|
PolyglotRuntime.Builder |
setErr(OutputStream os)
Configures error output for languages running in the
runtime
being built, defaults to System.err. |
PolyglotRuntime.Builder |
setIn(InputStream is)
|
PolyglotRuntime.Builder |
setOut(OutputStream os)
Configures default output for languages running in the
engine
being built, defaults to System.out. |
public PolyglotRuntime.Builder setOut(OutputStream os)
engine
being built, defaults to System.out.os - the stream to use as outputpublic PolyglotRuntime.Builder setErr(OutputStream os)
runtime
being built, defaults to System.err.os - the stream to use as outputpublic PolyglotRuntime.Builder setIn(InputStream is)
is - the stream to use as inputpublic PolyglotRuntime build()
PolyglotEngine.Builder.runtime(com.oracle.truffle.api.vm.PolyglotRuntime) method.PolyglotRuntime