Package cloud.commandframework.internal
Class CommandInputTokenizer
- java.lang.Object
-
- cloud.commandframework.internal.CommandInputTokenizer
-
public final class CommandInputTokenizer extends java.lang.Object
Tokenizer that splits command inputs into tokens. This will split the string at every blank space. If the input string ends with a blank space, a trailing empty string will be added to the token list
-
-
Constructor Summary
Constructors Constructor Description CommandInputTokenizer(@NonNull java.lang.String input)
Create a new input tokenizer
-
Method Summary
Modifier and Type Method Description @NonNull java.util.LinkedList<@NonNull java.lang.String>
tokenize()
Turn the input into tokens
-