Package org.adougou.cline

Interface Summary
Command Interface implemented by all commands.
ICLinePackage Any Java package that is intended to be used with the cline package needs to implement this interface and return an array of Commands that it would like to use with the command prompt.
IPrompt Command prompt interface.
 

Class Summary
BaseCommand Base class for creating named commands.
BasePrompt Base class for all command prompts.
CommandRegister This class is used internally by the BasePrompt to maintain a table of registered commands.
ExitCommand Command to exit the program.
HelpCommand This command is used to query information about any command that has been registered with the prompt.
ListCommand Command to display the contents of the current working directory.
PrefixPrintStream This class is a slight modification of the standard PrintStream (which is derived from a FilterStream) to append a prefix to any line message (eg.
PrintWorkingDirectoryCommand Command to print out the current working directory.
RunScriptCommand This command reads in a text file (or URL) containing a list of commands.
ShellPrompt Command prompt to be used within a xterm or DOS-shell.
TextArea This is a special TextArea for use with the TextAreaPrompt.
TextAreaInputStream This is an InputStream that can be assigned to System.in.
TextAreaOutputStream OutputStream for printing to a TextArea.
TextAreaPrompt This class is used in conjunction with TextArea to provide an AWT-based command prompt.
TimeCommand Simple command to prints out the current date/time.
URLCommand Any command that loads a URL (eg.
WindowCommand This class is not currently used, but I have included it to remind me of the idea and maybe one day I will finish implementing it.
 

Exception Summary
CommandException If an unrecoverable error occurs when executing a command (eg.