public abstract class AbstractSystemTerminalAdapter
extends net.thevpc.nuts.spi.NSystemTerminalBaseImpl
implements net.thevpc.nuts.io.NSystemTerminal
| Modifier and Type | Field and Description |
|---|---|
protected CProgressBar |
progressBar |
| Constructor and Description |
|---|
AbstractSystemTerminalAdapter() |
| Modifier and Type | Method and Description |
|---|---|
net.thevpc.nuts.cmdline.NCmdLineAutoCompleteResolver |
autoCompleteResolver() |
abstract net.thevpc.nuts.spi.NSystemTerminalBase |
base() |
net.thevpc.nuts.spi.NSystemTerminalBase |
commandAutoCompleteResolver(net.thevpc.nuts.cmdline.NCmdLineAutoCompleteResolver autoCompleteResolver) |
net.thevpc.nuts.io.NTerminalFormatter |
commandHighlighter() |
net.thevpc.nuts.io.NSystemTerminal |
commandHighlighter(net.thevpc.nuts.io.NTerminalFormatter commandHighlighter) |
net.thevpc.nuts.cmdline.NCmdLineHistory |
commandHistory() |
net.thevpc.nuts.spi.NSystemTerminalBase |
commandHistory(net.thevpc.nuts.cmdline.NCmdLineHistory history) |
net.thevpc.nuts.io.NPrintStream |
err() |
InputStream |
in() |
boolean |
isAutoCompleteSupported() |
boolean |
isLastWasProgress() |
void |
lastWasProgress(boolean lastWasProgress) |
net.thevpc.nuts.io.NPrintStream |
out() |
net.thevpc.nuts.io.NSystemTerminal |
printProgress(float progress,
net.thevpc.nuts.text.NMsg message) |
String |
readLine(net.thevpc.nuts.text.NMsg message) |
String |
readLine(net.thevpc.nuts.io.NPrintStream out,
net.thevpc.nuts.text.NMsg message) |
char[] |
readPassword(net.thevpc.nuts.text.NMsg message) |
char[] |
readPassword(net.thevpc.nuts.io.NPrintStream out,
net.thevpc.nuts.text.NMsg message) |
Object |
run(net.thevpc.nuts.text.NTerminalCmd command,
net.thevpc.nuts.io.NPrintStream printStream) |
void |
styles(net.thevpc.nuts.text.NTextStyles styles,
net.thevpc.nuts.io.NPrintStream printStream) |
clearScreen, resetLine, terminalCursor, terminalSizeprotected CProgressBar progressBar
public net.thevpc.nuts.cmdline.NCmdLineAutoCompleteResolver autoCompleteResolver()
autoCompleteResolver in interface net.thevpc.nuts.spi.NSystemTerminalBasepublic boolean isAutoCompleteSupported()
isAutoCompleteSupported in interface net.thevpc.nuts.spi.NSystemTerminalBasepublic net.thevpc.nuts.spi.NSystemTerminalBase commandAutoCompleteResolver(net.thevpc.nuts.cmdline.NCmdLineAutoCompleteResolver autoCompleteResolver)
commandAutoCompleteResolver in interface net.thevpc.nuts.spi.NSystemTerminalBasepublic net.thevpc.nuts.spi.NSystemTerminalBase commandHistory(net.thevpc.nuts.cmdline.NCmdLineHistory history)
commandHistory in interface net.thevpc.nuts.spi.NSystemTerminalBasepublic net.thevpc.nuts.cmdline.NCmdLineHistory commandHistory()
commandHistory in interface net.thevpc.nuts.spi.NSystemTerminalBasepublic String readLine(net.thevpc.nuts.text.NMsg message)
readLine in interface net.thevpc.nuts.io.NSystemTerminalpublic char[] readPassword(net.thevpc.nuts.text.NMsg message)
readPassword in interface net.thevpc.nuts.io.NSystemTerminalpublic net.thevpc.nuts.io.NSystemTerminal printProgress(float progress,
net.thevpc.nuts.text.NMsg message)
printProgress in interface net.thevpc.nuts.io.NSystemTerminalpublic String readLine(net.thevpc.nuts.io.NPrintStream out, net.thevpc.nuts.text.NMsg message)
readLine in interface net.thevpc.nuts.spi.NSystemTerminalBasepublic char[] readPassword(net.thevpc.nuts.io.NPrintStream out,
net.thevpc.nuts.text.NMsg message)
readPassword in interface net.thevpc.nuts.spi.NSystemTerminalBasepublic InputStream in()
in in interface net.thevpc.nuts.io.NSystemTerminalin in interface net.thevpc.nuts.spi.NSystemTerminalBasepublic boolean isLastWasProgress()
isLastWasProgress in class net.thevpc.nuts.spi.NSystemTerminalBaseImplpublic void lastWasProgress(boolean lastWasProgress)
lastWasProgress in class net.thevpc.nuts.spi.NSystemTerminalBaseImplpublic net.thevpc.nuts.io.NPrintStream out()
out in interface net.thevpc.nuts.io.NSystemTerminalout in interface net.thevpc.nuts.spi.NSystemTerminalBasepublic net.thevpc.nuts.io.NPrintStream err()
err in interface net.thevpc.nuts.io.NSystemTerminalerr in interface net.thevpc.nuts.spi.NSystemTerminalBasepublic abstract net.thevpc.nuts.spi.NSystemTerminalBase base()
base in interface net.thevpc.nuts.io.NSystemTerminalpublic net.thevpc.nuts.io.NTerminalFormatter commandHighlighter()
commandHighlighter in interface net.thevpc.nuts.spi.NSystemTerminalBasepublic net.thevpc.nuts.io.NSystemTerminal commandHighlighter(net.thevpc.nuts.io.NTerminalFormatter commandHighlighter)
commandHighlighter in interface net.thevpc.nuts.spi.NSystemTerminalBasepublic Object run(net.thevpc.nuts.text.NTerminalCmd command, net.thevpc.nuts.io.NPrintStream printStream)
run in interface net.thevpc.nuts.spi.NSystemTerminalBasepublic void styles(net.thevpc.nuts.text.NTextStyles styles,
net.thevpc.nuts.io.NPrintStream printStream)
styles in interface net.thevpc.nuts.spi.NSystemTerminalBaseCopyright © 2026 vpc open source initiative. All rights reserved.