public class CommandProcessor
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
CommandProcessor.BootFilter |
static class |
CommandProcessor.DebuggerInterface |
static class |
CommandProcessor.NonBootFilter |
Constructor and Description |
---|
CommandProcessor(CommandProcessor.DebuggerInterface debugger,
java.io.BufferedReader in,
java.io.PrintStream out,
java.io.PrintStream err) |
Modifier and Type | Method and Description |
---|---|
void |
executeCommand(java.lang.String ln,
boolean putInHistory) |
void |
printPrompt() |
void |
registerCommand(java.lang.String cmd,
java.lang.String usage,
java.lang.String func) |
void |
run(boolean prompt) |
void |
setErr(java.io.PrintStream e) |
void |
setOutput(java.io.PrintStream o) |
public CommandProcessor(CommandProcessor.DebuggerInterface debugger, java.io.BufferedReader in, java.io.PrintStream out, java.io.PrintStream err)
public void printPrompt()
public void registerCommand(java.lang.String cmd, java.lang.String usage, java.lang.String func)
public void setOutput(java.io.PrintStream o)
public void setErr(java.io.PrintStream e)
public void run(boolean prompt)
public void executeCommand(java.lang.String ln, boolean putInHistory)
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.