Package org.dellroad.jct.core.simple
package org.dellroad.jct.core.simple
Simple console implementation for the Java Console Toolkit.
-
ClassDescriptionSupport superclass for
SimpleCommand
implementations.A collection ofSimpleCommand
s keyed by name.Parses a command line string into a command name and parameters.Exception thrown by aCommandLineParser
when the line cannot be successfully parsed.Implemented by commands that can be configured for aSimpleExec
orSimpleShell
.A simple command line parser: Command name and parameters are separated by whitespace Java-style doubly-quoted string literals are supported, and may span multiple lines Backslash escapes are supported for (in particular) double quote and backslash characters Backslash escapes are supported for end of line continuations to the next lineSupport superclass for console components that utilizeSimpleCommand
s.Represents a command line that has been parsed and the correspondingSimpleCommand
found.A simple implementation of theExec
interface using a library ofSimpleCommand
s.DefaultExecSession
implementation used bySimpleExec
.Straightforward implementation of theExecRequest
interface.A simple implementation of theShell
interface based on a library ofSimpleCommand
s.DefaultShellSession
implementation used bySimpleShell
.Straightforward implementation of theShellRequest
interface.CommandBundle
implementation usingTreeMap
.