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.io.NPrintStream |
err() |
net.thevpc.nuts.cmdline.NCmdLineAutoCompleteResolver |
getAutoCompleteResolver() |
abstract net.thevpc.nuts.spi.NSystemTerminalBase |
getBase() |
String |
getCommandHighlighter() |
net.thevpc.nuts.cmdline.NCmdLineHistory |
getCommandHistory() |
net.thevpc.nuts.io.NPrintStream |
getErr() |
InputStream |
getIn() |
net.thevpc.nuts.io.NPrintStream |
getOut() |
int |
getSupportLevel(net.thevpc.nuts.spi.NSupportLevelContext criteria) |
InputStream |
in() |
boolean |
isAutoCompleteSupported() |
net.thevpc.nuts.io.NPrintStream |
out() |
net.thevpc.nuts.io.NSystemTerminal |
printProgress(float progress,
net.thevpc.nuts.util.NMsg message) |
String |
readLine(net.thevpc.nuts.util.NMsg message) |
String |
readLine(net.thevpc.nuts.io.NPrintStream out,
net.thevpc.nuts.util.NMsg message) |
char[] |
readPassword(net.thevpc.nuts.util.NMsg message) |
char[] |
readPassword(net.thevpc.nuts.io.NPrintStream out,
net.thevpc.nuts.util.NMsg message) |
Object |
run(net.thevpc.nuts.text.NTerminalCmd command,
net.thevpc.nuts.io.NPrintStream printStream) |
net.thevpc.nuts.spi.NSystemTerminalBase |
setCommandAutoCompleteResolver(net.thevpc.nuts.cmdline.NCmdLineAutoCompleteResolver autoCompleteResolver) |
net.thevpc.nuts.io.NSystemTerminal |
setCommandHighlighter(String commandHighlighter) |
net.thevpc.nuts.spi.NSystemTerminalBase |
setCommandHistory(net.thevpc.nuts.cmdline.NCmdLineHistory history) |
void |
setStyles(net.thevpc.nuts.text.NTextStyles styles,
net.thevpc.nuts.io.NPrintStream printStream) |
clearScreen, getTerminalCursor, getTerminalSize, resetLineprotected CProgressBar progressBar
public net.thevpc.nuts.cmdline.NCmdLineAutoCompleteResolver getAutoCompleteResolver()
getAutoCompleteResolver in interface net.thevpc.nuts.spi.NSystemTerminalBasepublic boolean isAutoCompleteSupported()
isAutoCompleteSupported in interface net.thevpc.nuts.spi.NSystemTerminalBasepublic net.thevpc.nuts.spi.NSystemTerminalBase setCommandAutoCompleteResolver(net.thevpc.nuts.cmdline.NCmdLineAutoCompleteResolver autoCompleteResolver)
setCommandAutoCompleteResolver in interface net.thevpc.nuts.spi.NSystemTerminalBasepublic net.thevpc.nuts.spi.NSystemTerminalBase setCommandHistory(net.thevpc.nuts.cmdline.NCmdLineHistory history)
setCommandHistory in interface net.thevpc.nuts.spi.NSystemTerminalBasepublic net.thevpc.nuts.cmdline.NCmdLineHistory getCommandHistory()
getCommandHistory in interface net.thevpc.nuts.spi.NSystemTerminalBasepublic String readLine(net.thevpc.nuts.util.NMsg message)
readLine in interface net.thevpc.nuts.io.NSystemTerminalpublic char[] readPassword(net.thevpc.nuts.util.NMsg message)
readPassword in interface net.thevpc.nuts.io.NSystemTerminalpublic InputStream in()
in in interface net.thevpc.nuts.io.NSystemTerminalpublic net.thevpc.nuts.io.NPrintStream out()
out in interface net.thevpc.nuts.io.NSystemTerminalpublic net.thevpc.nuts.io.NPrintStream err()
err in interface net.thevpc.nuts.io.NSystemTerminalpublic net.thevpc.nuts.io.NSystemTerminal printProgress(float progress,
net.thevpc.nuts.util.NMsg message)
printProgress in interface net.thevpc.nuts.io.NSystemTerminalpublic int getSupportLevel(net.thevpc.nuts.spi.NSupportLevelContext criteria)
getSupportLevel in interface net.thevpc.nuts.spi.NComponentpublic String readLine(net.thevpc.nuts.io.NPrintStream out, net.thevpc.nuts.util.NMsg message)
readLine in interface net.thevpc.nuts.spi.NSystemTerminalBasepublic char[] readPassword(net.thevpc.nuts.io.NPrintStream out,
net.thevpc.nuts.util.NMsg message)
readPassword in interface net.thevpc.nuts.spi.NSystemTerminalBasepublic InputStream getIn()
getIn in interface net.thevpc.nuts.spi.NSystemTerminalBasepublic net.thevpc.nuts.io.NPrintStream getOut()
getOut in interface net.thevpc.nuts.spi.NSystemTerminalBasepublic net.thevpc.nuts.io.NPrintStream getErr()
getErr in interface net.thevpc.nuts.spi.NSystemTerminalBasepublic abstract net.thevpc.nuts.spi.NSystemTerminalBase getBase()
getBase in interface net.thevpc.nuts.io.NSystemTerminalpublic String getCommandHighlighter()
getCommandHighlighter in interface net.thevpc.nuts.spi.NSystemTerminalBasepublic net.thevpc.nuts.io.NSystemTerminal setCommandHighlighter(String commandHighlighter)
setCommandHighlighter 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 setStyles(net.thevpc.nuts.text.NTextStyles styles,
net.thevpc.nuts.io.NPrintStream printStream)
setStyles in interface net.thevpc.nuts.spi.NSystemTerminalBaseCopyright © 2025 vpc open source initiative. All rights reserved.