public abstract class CommandSource
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.io.PrintStream |
err |
Constructor and Description |
---|
CommandSource() |
CommandSource(java.io.PrintStream err) |
Modifier and Type | Method and Description |
---|---|
abstract java.util.List<java.lang.String> |
getNextCommand(java.util.List<java.lang.String> buf) |
boolean |
reportError(fabric.worker.shell.HandlerException e)
Reports an error back to the user.
|
abstract boolean |
reportError(java.lang.String message)
Reports an error back to the user.
|
public CommandSource()
public CommandSource(java.io.PrintStream err)
public abstract java.util.List<java.lang.String> getNextCommand(java.util.List<java.lang.String> buf)
command
- a list into which the command will be parsed.public abstract boolean reportError(java.lang.String message)
public boolean reportError(fabric.worker.shell.HandlerException e)