Class CommandExpander
- java.lang.Object
-
- com.realtime.crossfire.jxclient.commands.CommandExpander
-
public class CommandExpander extends java.lang.ObjectExpands a command (or list of commands) into a sequence ofCommandsto execute.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Collection<CommandExec>expand(@NotNull java.lang.CharSequence commandList, @NotNull Commands commands)Expands a command list into a sequence ofCommandsto execute.
-
-
-
Method Detail
-
expand
public static java.util.Collection<CommandExec> expand(@NotNull @NotNull java.lang.CharSequence commandList, @NotNull @NotNull Commands commands)
Expands a command list into a sequence ofCommandsto execute.- Parameters:
commandList- the commands to splitcommands- the commands to use- Returns:
- the list of commands
-
-