Class CommandExpander
java.lang.Object
com.realtime.crossfire.jxclient.commands.CommandExpander
Expands a command (or list of commands) into a sequence of
Commands to execute.-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull Collection<CommandExec>expand(@NotNull CharSequence commandList, @NotNull Commands commands) Expands a command list into a sequence ofCommandsto execute.
-
Method Details
-
expand
@NotNull public static @NotNull Collection<CommandExec> expand(@NotNull @NotNull 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
-