rero.client.user
Class UserHandler
java.lang.Object
rero.client.Feature
rero.client.user.UserHandler
- All Implemented Interfaces:
- InputListener
- public class UserHandler
- extends Feature
- implements InputListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
commandParametersPattern
protected static Pattern commandParametersPattern
scriptedAliases
protected AliasEnvironment scriptedAliases
commands
protected HashMap commands
builtInCommands
protected BuiltInCommands builtInCommands
ircData
protected InternalDataList ircData
UserHandler
public UserHandler()
getScriptedAliases
public Collection getScriptedAliases()
storeDataStructures
public void storeDataStructures(WeakHashMap data)
- Overrides:
storeDataStructures
in class Feature
init
public void init()
- Specified by:
init
in class Feature
isNickComplete
public boolean isNickComplete(String text)
processNickCompletion
public void processNickCompletion(String text)
getQuery
public String getQuery()
onInput
public void onInput(UserInputEvent ev)
- Specified by:
onInput
in interface InputListener
processInput
public void processInput(String text)
registerCommand
public void registerCommand(String name,
ClientCommand command)
- this is an internal API so there is no effort to remember "prior" commands. It is assumed that the command being
registered doesn't exist otherwise
runAlias
public void runAlias(String command,
String parameters)
runAliasBuiltIn
public void runAliasBuiltIn(String command,
String parameters)
processCommand
public void processCommand(String text)
processCommandBuiltIn
public void processCommandBuiltIn(String text)