public class DefaultNutsSessionTerminalFromSystem extends AbstractNutsSessionTerminal
| Modifier and Type | Field and Description |
|---|---|
protected net.thevpc.nuts.NutsPrintStream |
err |
protected NutsPrintStreamCache |
errCache |
protected InputStream |
in |
protected BufferedReader |
inReader |
protected net.thevpc.nuts.NutsPrintStream |
out |
protected NutsPrintStreamCache |
outCache |
protected net.thevpc.nuts.spi.NutsSystemTerminalBase |
parent |
protected CProgressBar |
progressBar |
protected net.thevpc.nuts.NutsSession |
session |
protected net.thevpc.nuts.NutsWorkspace |
ws |
| Constructor and Description |
|---|
DefaultNutsSessionTerminalFromSystem(net.thevpc.nuts.NutsSession session,
DefaultNutsSessionTerminalFromSystem other) |
DefaultNutsSessionTerminalFromSystem(net.thevpc.nuts.NutsSession session,
net.thevpc.nuts.spi.NutsSystemTerminalBase parent) |
| Modifier and Type | Method and Description |
|---|---|
<T> net.thevpc.nuts.NutsQuestion<T> |
ask() |
net.thevpc.nuts.NutsSessionTerminal |
copy() |
protected void |
copyFrom(DefaultNutsSessionTerminalFromSystem other) |
net.thevpc.nuts.NutsPrintStream |
err() |
net.thevpc.nuts.NutsPrintStream |
getErr() |
InputStream |
getIn() |
net.thevpc.nuts.NutsPrintStream |
getOut() |
net.thevpc.nuts.spi.NutsSystemTerminalBase |
getParent() |
BufferedReader |
getReader() |
net.thevpc.nuts.NutsSession |
getSession() |
InputStream |
in() |
boolean |
isErrOverridden() |
boolean |
isInOverridden() |
boolean |
isOutOverridden() |
net.thevpc.nuts.NutsPrintStream |
out() |
net.thevpc.nuts.NutsSessionTerminal |
printProgress(float progress,
net.thevpc.nuts.NutsMessage message) |
String |
readLine(net.thevpc.nuts.NutsPrintStream out,
net.thevpc.nuts.NutsMessage message) |
String |
readLine(net.thevpc.nuts.NutsPrintStream out,
net.thevpc.nuts.NutsMessage message,
net.thevpc.nuts.NutsSession session) |
String |
readLine(String prompt,
Object... params) |
char[] |
readPassword(net.thevpc.nuts.NutsPrintStream out,
net.thevpc.nuts.NutsMessage message) |
char[] |
readPassword(net.thevpc.nuts.NutsPrintStream out,
net.thevpc.nuts.NutsMessage message,
net.thevpc.nuts.NutsSession session) |
char[] |
readPassword(String prompt,
Object... params) |
void |
setErr(net.thevpc.nuts.NutsPrintStream err) |
void |
setIn(InputStream in) |
void |
setOut(net.thevpc.nuts.NutsPrintStream out) |
printProgress, printProgress, printProgress, readLine, readPasswordprotected net.thevpc.nuts.NutsWorkspace ws
protected net.thevpc.nuts.NutsSession session
protected net.thevpc.nuts.NutsPrintStream out
protected net.thevpc.nuts.NutsPrintStream err
protected NutsPrintStreamCache outCache
protected NutsPrintStreamCache errCache
protected InputStream in
protected BufferedReader inReader
protected net.thevpc.nuts.spi.NutsSystemTerminalBase parent
protected CProgressBar progressBar
public DefaultNutsSessionTerminalFromSystem(net.thevpc.nuts.NutsSession session,
DefaultNutsSessionTerminalFromSystem other)
public DefaultNutsSessionTerminalFromSystem(net.thevpc.nuts.NutsSession session,
net.thevpc.nuts.spi.NutsSystemTerminalBase parent)
public BufferedReader getReader()
public String readLine(net.thevpc.nuts.NutsPrintStream out, net.thevpc.nuts.NutsMessage message)
public char[] readPassword(net.thevpc.nuts.NutsPrintStream out,
net.thevpc.nuts.NutsMessage message)
public String readLine(net.thevpc.nuts.NutsPrintStream out, net.thevpc.nuts.NutsMessage message, net.thevpc.nuts.NutsSession session)
public char[] readPassword(net.thevpc.nuts.NutsPrintStream out,
net.thevpc.nuts.NutsMessage message,
net.thevpc.nuts.NutsSession session)
public InputStream getIn()
public void setIn(InputStream in)
public net.thevpc.nuts.NutsPrintStream getOut()
public void setOut(net.thevpc.nuts.NutsPrintStream out)
public net.thevpc.nuts.NutsPrintStream getErr()
public void setErr(net.thevpc.nuts.NutsPrintStream err)
public net.thevpc.nuts.NutsSessionTerminal copy()
public <T> net.thevpc.nuts.NutsQuestion<T> ask()
public InputStream in()
public net.thevpc.nuts.NutsPrintStream out()
public net.thevpc.nuts.NutsPrintStream err()
public net.thevpc.nuts.NutsSessionTerminal printProgress(float progress,
net.thevpc.nuts.NutsMessage message)
public net.thevpc.nuts.spi.NutsSystemTerminalBase getParent()
public boolean isInOverridden()
public boolean isOutOverridden()
public boolean isErrOverridden()
protected void copyFrom(DefaultNutsSessionTerminalFromSystem other)
public net.thevpc.nuts.NutsSession getSession()
getSession in class AbstractNutsSessionTerminalCopyright © 2022 vpc open source initiative. All rights reserved.