Class ShellCommand

    • Constructor Detail

      • ShellCommand

        public ShellCommand()
      • ShellCommand

        public ShellCommand​(boolean interactive)
    • Method Detail

      • getName

        public String getName()
      • getOneLineDescription

        public String getOneLineDescription()
      • main

        public static int main​(String[] args,
                               InputStream in,
                               PrintStream out)
        Main method to run a command shell client.
        args - - command line arguments
        in - - input stream to use
        out - - output stream to use
        0 for a successful run, -1 if there are any exception
      • main

        public static void main​(String[] args)
      • isInteractive

        public boolean isInteractive()
      • setInteractive

        public void setInteractive​(boolean interactive)
      • printHelp

        protected void printHelp()
        Print the help messages for the browse command
        Specified by:
        printHelp in class AbstractCommand