frysk.hpd
Class ShellCommand

java.lang.Object
  extended by frysk.hpd.Command
      extended by frysk.hpd.NoOptsCommand
          extended by frysk.hpd.ShellCommand

 class ShellCommand
extends NoOptsCommand


Constructor Summary
ShellCommand()
           
 
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 frysk.hpd.NoOptsCommand
help, interpret
 
Methods inherited from class frysk.hpd.Command
description
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShellCommand

ShellCommand()
Method Detail

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