public class DefaultNSystemTerminalBase extends NSystemTerminalBaseImpl
NSystemTerminalBase.Cursor, NSystemTerminalBase.Size| Modifier and Type | Field and Description |
|---|---|
static int |
THIRTY_SECONDS |
| Constructor and Description |
|---|
DefaultNSystemTerminalBase(NWorkspace workspace) |
| Modifier and Type | Method and Description |
|---|---|
NCmdLineAutoCompleteResolver |
getAutoCompleteResolver() |
String |
getCommandHighlighter() |
NCmdLineHistory |
getCommandHistory() |
NPrintStream |
getErr() |
InputStream |
getIn() |
NPrintStream |
getOut() |
int |
getSupportLevel(NSupportLevelContext criteria) |
boolean |
isAutoCompleteSupported() |
String |
readLine(NPrintStream out,
NMsg message) |
char[] |
readPassword(NPrintStream out,
NMsg message) |
Object |
run(NTerminalCmd command,
NPrintStream printStream) |
NSystemTerminalBase |
setCommandAutoCompleteResolver(NCmdLineAutoCompleteResolver autoCompleteResolver) |
DefaultNSystemTerminalBase |
setCommandHighlighter(String commandHighlighter) |
NSystemTerminalBase |
setCommandHistory(NCmdLineHistory history) |
void |
setStyles(NTextStyles styles,
NPrintStream printStream) |
clearScreen, getTerminalCursor, getTerminalSize, resetLinepublic static final int THIRTY_SECONDS
public DefaultNSystemTerminalBase(NWorkspace workspace)
public int getSupportLevel(NSupportLevelContext criteria)
public String readLine(NPrintStream out, NMsg message)
public char[] readPassword(NPrintStream out, NMsg message)
public InputStream getIn()
public NPrintStream getOut()
public NPrintStream getErr()
public NCmdLineAutoCompleteResolver getAutoCompleteResolver()
public boolean isAutoCompleteSupported()
public NSystemTerminalBase setCommandAutoCompleteResolver(NCmdLineAutoCompleteResolver autoCompleteResolver)
public NCmdLineHistory getCommandHistory()
public NSystemTerminalBase setCommandHistory(NCmdLineHistory history)
public String getCommandHighlighter()
public DefaultNSystemTerminalBase setCommandHighlighter(String commandHighlighter)
public Object run(NTerminalCmd command, NPrintStream printStream)
public void setStyles(NTextStyles styles, NPrintStream printStream)
Copyright © 2025 vpc open source initiative. All rights reserved.