Package org.incendo.cloud.internal
Class CommandInputTokenizer
java.lang.Object
org.incendo.cloud.internal.CommandInputTokenizer
@API(status=INTERNAL,
consumers="org.incendo.cloud.*")
public final class CommandInputTokenizer
extends 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 -
Method Summary
-
Constructor Details
-
CommandInputTokenizer
Create a new input tokenizer- Parameters:
input- Input that is to be turned into tokens
-
-
Method Details
-
tokenize
Turn the input into tokens- Returns:
- Linked list containing the tokenized input
-