All Packages This Package Class Hierarchy Class Search Index
java.lang.Object | +----kh.shell.Shell
| Summary |
public class Shell
extends java.lang.Object
implements java.lang.Runnable
{
// Constructors 2
public Shell(InputStream, OutputStream) throws IOException;
public Shell(InputStream, OutputStream, String[]) throws IOException;
// Methods 7
public static void main(String[]);
public void addExtension(Class);
public BufferedReader getInput();
public IndentWriter getOutput();
public void processCommand(String);
public void removeExtension(Class);
public void run();
}
| Constructors |
· Shell | Summary | Top |
public Shell(InputStream inArg,
OutputStream outArg) throws IOException
· Shell | Summary | Top |
public Shell(InputStream inArg,
OutputStream outArg,
String[] args) throws IOException
| Methods |
· addExtension | Summary | Top |
public void addExtension(Class shellExtension)
Register an extension
· getInput | Summary | Top |
public BufferedReader getInput()
Return the input for this shell
· getOutput | Summary | Top |
public IndentWriter getOutput()
Return the output for this shell
· main | Summary | Top |
public static void main(String[] args)
· processCommand | Summary | Top |
public void processCommand(String command)
Given a string, invoke a command and print the results
· removeExtension | Summary | Top |
public void removeExtension(Class shellExtension)
Remove an extension
· run | Summary | Top |
public void run()
The shell can be invoked as it's own thread - for easy debugging
- Implements:
- run in interface Runnable
All Packages This Package Class Hierarchy Class Search IndexFreshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7