Package pro.gravit.utils.command
Class StdCommandHandler
java.lang.Object
pro.gravit.utils.command.CommandHandler
pro.gravit.utils.command.StdCommandHandler
- All Implemented Interfaces:
Runnable
-
Nested Class Summary
Nested classes/interfaces inherited from class pro.gravit.utils.command.CommandHandler
CommandHandler.Category, CommandHandler.CommandWalk -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class pro.gravit.utils.command.CommandHandler
eval, eval, evalNative, findCategory, findCommand, getBaseCategory, getCategories, lookup, registerCategory, registerCommand, run, unregisterCategory, unregisterCommand, walk
-
Constructor Details
-
StdCommandHandler
public StdCommandHandler(boolean readCommands)
-
-
Method Details
-
bell
public void bell()Description copied from class:CommandHandlerIf supported, sends a bell signal to the console- Specified by:
bellin classCommandHandler
-
clear
Description copied from class:CommandHandlerCleans the console- Specified by:
clearin classCommandHandler- Throws:
IOException- Internal Error
-
readLine
Description copied from class:CommandHandlerReads a line from the console- Specified by:
readLinein classCommandHandler- Returns:
- command line
- Throws:
IOException- Internal Error
-