Class StdCommandHandler

  • All Implemented Interfaces:
    java.lang.Runnable

    public class StdCommandHandler
    extends CommandHandler
    • Constructor Detail

      • StdCommandHandler

        public StdCommandHandler​(boolean readCommands)
    • Method Detail

      • bell

        public void bell()
        Description copied from class: CommandHandler
        If supported, sends a bell signal to the console
        Specified by:
        bell in class CommandHandler
      • clear

        public void clear()
                   throws java.io.IOException
        Description copied from class: CommandHandler
        Cleans the console
        Specified by:
        clear in class CommandHandler
        Throws:
        java.io.IOException - Internal Error
      • readLine

        public java.lang.String readLine()
                                  throws java.io.IOException
        Description copied from class: CommandHandler
        Reads a line from the console
        Specified by:
        readLine in class CommandHandler
        Returns:
        command line
        Throws:
        java.io.IOException - Internal Error