public class ShellPrompts
extends java.lang.Object
Constructor and Description |
---|
ShellPrompts() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPrompt()
Returns the current prompt.
|
void |
popPrompt()
Pop a previously pushed prompt, returning to the previous value.
|
void |
pushPrompt(java.lang.String prompt)
Push a new prompt to be used by the shell.
|
public void pushPrompt(java.lang.String prompt)
prompt
- the promptpopPrompt()
public void popPrompt()
pushPrompt(String)
public java.lang.String getPrompt()