Package org.dellroad.jct.core.simple
package org.dellroad.jct.core.simple
Simple console implementation for the Java Console Toolkit.
-
ClassDescriptionSupport superclass for
SimpleCommandimplementations.A collection ofSimpleCommands keyed by name.Parses a command line string into a command name and parameters.Exception thrown by aCommandLineParserwhen the line cannot be successfully parsed.Implemented by commands that can be configured for aSimpleExecorSimpleShell.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 utilizeSimpleCommands.Represents a command line that has been parsed and the correspondingSimpleCommandfound.A simple implementation of theExecinterface using a library ofSimpleCommands.DefaultExecSessionimplementation used bySimpleExec.Straightforward implementation of theExecRequestinterface.A simple implementation of theShellinterface based on a library ofSimpleCommands.DefaultShellSessionimplementation used bySimpleShell.Straightforward implementation of theShellRequestinterface.CommandBundleimplementation usingTreeMap.