public class DefaultNutsSessionTerminal2 extends AbstractNutsSessionTerminal
| Modifier and Type | Field and Description |
|---|---|
protected net.thevpc.nuts.NutsPrintStream |
err |
protected InputStream |
in |
protected BufferedReader |
inReader |
protected net.thevpc.nuts.NutsPrintStream |
out |
protected net.thevpc.nuts.NutsSessionTerminal |
parent |
protected CProgressBar |
progressBar |
protected net.thevpc.nuts.NutsSession |
session |
protected net.thevpc.nuts.NutsWorkspace |
ws |
| Constructor and Description |
|---|
DefaultNutsSessionTerminal2(net.thevpc.nuts.NutsSession session,
DefaultNutsSessionTerminal2 other) |
DefaultNutsSessionTerminal2(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(DefaultNutsSessionTerminal2 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 InputStream in
protected BufferedReader inReader
protected net.thevpc.nuts.NutsSessionTerminal parent
protected CProgressBar progressBar
public DefaultNutsSessionTerminal2(net.thevpc.nuts.NutsSession session,
DefaultNutsSessionTerminal2 other)
public DefaultNutsSessionTerminal2(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 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)
public char[] readPassword(net.thevpc.nuts.NutsPrintStream out,
net.thevpc.nuts.NutsMessage message,
net.thevpc.nuts.NutsSession session)
public InputStream getIn()
public net.thevpc.nuts.NutsPrintStream getOut()
public net.thevpc.nuts.NutsPrintStream getErr()
public net.thevpc.nuts.NutsSessionTerminal getParent()
public void setErr(net.thevpc.nuts.NutsPrintStream err)
public net.thevpc.nuts.NutsSessionTerminal copy()
public void setOut(net.thevpc.nuts.NutsPrintStream out)
public void setIn(InputStream in)
public boolean isInOverridden()
public boolean isOutOverridden()
public boolean isErrOverridden()
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)
protected void copyFrom(DefaultNutsSessionTerminal2 other)
public net.thevpc.nuts.NutsSession getSession()
getSession in class AbstractNutsSessionTerminalCopyright © 2021 vpc open source initiative. All rights reserved.