Crossfire JXClient, Trunk
R20561
|
Expands a command (or list of commands) into a sequence of Commands to execute. More...
Static Public Member Functions | |
static Collection< CommandExec > | expand (@NotNull final CharSequence commandList, @NotNull final Commands commands) |
Expands a command list into a sequence of Commands to execute. More... | |
Private Member Functions | |
CommandExpander () | |
Private constructor to prevent instantiation. More... | |
Static Private Attributes | |
static final Pattern | PATTERN_SEPARATOR = Pattern.compile(" *; *") |
The Pattern for splitting command sequences. More... | |
static final Pattern | PATTERN_SPACES = Pattern.compile(" +") |
The Pattern for splitting commands from command arguments. More... | |
Expands a command (or list of commands) into a sequence of Commands to execute.
Definition at line 34 of file CommandExpander.java.
|
private |
Private constructor to prevent instantiation.
Definition at line 51 of file CommandExpander.java.
|
static |
Expands a command list into a sequence of Commands to execute.
commandList | the commands to split |
commands | the commands to use |
Definition at line 61 of file CommandExpander.java.
References com.realtime.crossfire.jxclient.commands.Command.allArguments().
Referenced by com.realtime.crossfire.jxclient.commands.CommandExpanderTest.check(), and com.realtime.crossfire.jxclient.commands.CommandExecutorImpl.executeCommand().
|
staticprivate |
The Pattern for splitting command sequences.
Definition at line 40 of file CommandExpander.java.
|
staticprivate |
The Pattern for splitting commands from command arguments.
Definition at line 46 of file CommandExpander.java.