frysk.hpd
Class ShellCommand
java.lang.Object
frysk.hpd.Command
frysk.hpd.NoOptsCommand
frysk.hpd.ShellCommand
class ShellCommand
- extends NoOptsCommand
Method Summary |
(package private) int |
complete(CLI cli,
Input buffer,
int cursor,
List candidates)
Fill CANDIDATES with the possible completion strings and return
the start position of those strings. |
(package private) void |
interpretCommand(CLI cli,
Input cmd)
Interpret commands. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShellCommand
ShellCommand()
complete
int complete(CLI cli,
Input buffer,
int cursor,
List candidates)
- Description copied from class:
Command
- Fill CANDIDATES with the possible completion strings and return
the start position of those strings. E.g., given buffer=foo
and completion={foobar}, 0 would be returned to indicate where
"foobar" can be inserted. Rreturn -1 when completion isn't
supported.
- Specified by:
complete
in class Command
interpretCommand
void interpretCommand(CLI cli,
Input cmd)
- Description copied from class:
NoOptsCommand
- Interpret commands.
- Specified by:
interpretCommand
in class NoOptsCommand