public class DefaultNutsSessionTerminalFromSession 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.NutsSessionTerminal |
parent |
protected CProgressBar |
progressBar |
protected net.thevpc.nuts.NutsSession |
session |
protected net.thevpc.nuts.NutsWorkspace |
ws |
| Constructor and Description |
|---|
DefaultNutsSessionTerminalFromSession(net.thevpc.nuts.NutsSession session,
DefaultNutsSessionTerminalFromSession other) |
DefaultNutsSessionTerminalFromSession(net.thevpc.nuts.NutsSession session,
net.thevpc.nuts.NutsSessionTerminal parent) |
| Modifier and Type | Method and Description |
|---|---|
<T> net.thevpc.nuts.NutsQuestion<T> |
ask() |
net.thevpc.nuts.NutsSessionTerminal |
copy() |
protected void |
copyFrom(DefaultNutsSessionTerminalFromSession other) |
net.thevpc.nuts.NutsPrintStream |
err() |
net.thevpc.nuts.NutsPrintStream |
getErr() |
InputStream |
getIn() |
net.thevpc.nuts.NutsPrintStream |
getOut() |
net.thevpc.nuts.NutsSessionTerminal |
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.NutsSessionTerminal parent
protected CProgressBar progressBar
public DefaultNutsSessionTerminalFromSession(net.thevpc.nuts.NutsSession session,
DefaultNutsSessionTerminalFromSession other)
public DefaultNutsSessionTerminalFromSession(net.thevpc.nuts.NutsSession session,
net.thevpc.nuts.NutsSessionTerminal 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.NutsSessionTerminal getParent()
public boolean isInOverridden()
public boolean isOutOverridden()
public boolean isErrOverridden()
protected void copyFrom(DefaultNutsSessionTerminalFromSession other)
public net.thevpc.nuts.NutsSession getSession()
getSession in class AbstractNutsSessionTerminalCopyright © 2022 vpc open source initiative. All rights reserved.