All Packages Class Hierarchy This Package Previous Next Index
Class Acme.Comnd.ComndContext
java.lang.Object
|
+----Acme.Comnd.ComndContext
- public abstract class ComndContext
- extends Object
Comnd context object.
This represents an instance of command parsing.
Fetch the software.
Fetch the entire Acme package.
-
in
-
-
out
-
-
ComndContext()
- Let the I/O streams default to System.in and System.err.
-
ComndContext(InputStream, PrintStream)
- If you are running in a CLI context, use the regular I/O streams.
-
ComndContext(InputStream, PrintStream, Toolkit)
- If you are running in a GUI context, pass in the Toolkit.
-
beep()
- Emit a beep.
-
getChar()
-
-
parseLine(String, Comnd)
- Main entry point for parsing a command line.
in
public InputStream in
out
public PrintStream out
ComndContext
public ComndContext(InputStream in,
PrintStream out,
Toolkit toolkit)
- If you are running in a GUI context, pass in the Toolkit.
ComndContext
public ComndContext(InputStream i,
PrintStream o)
- If you are running in a CLI context, use the regular I/O streams.
ComndContext
public ComndContext()
- Let the I/O streams default to System.in and System.err.
parseLine
public Comnd[] parseLine(String prompt,
Comnd cmd)
- Main entry point for parsing a command line.
getChar
protected char getChar()
beep
public void beep()
- Emit a beep.
All Packages Class Hierarchy This Package Previous Next Index
ACME Java ACME Labs