public abstract class AbstractSystemTerminalAdapter extends NSystemTerminalBaseImpl implements NSystemTerminal
NSystemTerminalBase.Cursor, NSystemTerminalBase.Size| Modifier and Type | Field and Description |
|---|---|
protected CProgressBar |
progressBar |
| Constructor and Description |
|---|
AbstractSystemTerminalAdapter() |
| Modifier and Type | Method and Description |
|---|---|
NArgCompleteResolver |
autoCompleteResolver() |
abstract NSystemTerminalBase |
base() |
NSystemTerminalBase |
commandAutoCompleteResolver(NArgCompleteResolver autoCompleteResolver) |
NTerminalFormatter |
commandHighlighter() |
NSystemTerminal |
commandHighlighter(NTerminalFormatter commandHighlighter) |
NCmdLineHistory |
commandHistory() |
NSystemTerminalBase |
commandHistory(NCmdLineHistory history) |
NPrintStream |
err() |
InputStream |
in() |
boolean |
isAutoCompleteSupported() |
boolean |
isLastWasProgress() |
void |
lastWasProgress(boolean lastWasProgress) |
NPrintStream |
out() |
NSystemTerminal |
printProgress(float progress,
NMsg message) |
String |
readLine(NMsg message) |
String |
readLine(NPrintStream out,
NMsg message) |
char[] |
readPassword(NMsg message) |
char[] |
readPassword(NPrintStream out,
NMsg message) |
Object |
run(NTerminalCmd command,
NPrintStream printStream) |
void |
styles(NTextStyles styles,
NPrintStream printStream) |
clearScreen, resetLine, terminalCursor, terminalSizeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitenableRichTermclearScreen, resetLine, terminalCursor, terminalSizeprotected CProgressBar progressBar
public NArgCompleteResolver autoCompleteResolver()
autoCompleteResolver in interface NSystemTerminalBasepublic boolean isAutoCompleteSupported()
isAutoCompleteSupported in interface NSystemTerminalBasepublic NSystemTerminalBase commandAutoCompleteResolver(NArgCompleteResolver autoCompleteResolver)
commandAutoCompleteResolver in interface NSystemTerminalBasepublic NSystemTerminalBase commandHistory(NCmdLineHistory history)
commandHistory in interface NSystemTerminalBasepublic NCmdLineHistory commandHistory()
commandHistory in interface NSystemTerminalBasepublic String readLine(NMsg message)
readLine in interface NSystemTerminalpublic char[] readPassword(NMsg message)
readPassword in interface NSystemTerminalpublic NSystemTerminal printProgress(float progress, NMsg message)
printProgress in interface NSystemTerminalpublic String readLine(NPrintStream out, NMsg message)
readLine in interface NSystemTerminalBasepublic char[] readPassword(NPrintStream out, NMsg message)
readPassword in interface NSystemTerminalBasepublic InputStream in()
in in interface NSystemTerminalin in interface NSystemTerminalBasepublic boolean isLastWasProgress()
isLastWasProgress in class NSystemTerminalBaseImplpublic void lastWasProgress(boolean lastWasProgress)
lastWasProgress in class NSystemTerminalBaseImplpublic NPrintStream out()
out in interface NSystemTerminalout in interface NSystemTerminalBasepublic NPrintStream err()
err in interface NSystemTerminalerr in interface NSystemTerminalBasepublic abstract NSystemTerminalBase base()
base in interface NSystemTerminalpublic NTerminalFormatter commandHighlighter()
commandHighlighter in interface NSystemTerminalBasepublic NSystemTerminal commandHighlighter(NTerminalFormatter commandHighlighter)
commandHighlighter in interface NSystemTerminalBasepublic Object run(NTerminalCmd command, NPrintStream printStream)
run in interface NSystemTerminalBasepublic void styles(NTextStyles styles, NPrintStream printStream)
styles in interface NSystemTerminalBaseCopyright © 2026 vpc open source initiative. All rights reserved.