Object
QuotesTokenizer
Splits the string on tokens. Tokens are separated with whitespace or tabs.
For example: "a b c" -> "a", "b", "c"
Any part of substring which is enclosed in quotes considered to be a single token.
For example: "a \"b c\"" -> "a", "b c"
Backslash can be used to escape or cancel the quotes.
For example: "a \"b \\\"c\\\" d\"" -> a", "b \"c\" d"
You can use this class if you need to split command line string on list of arguments.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
QuotesTokenizer
public QuotesTokenizer()
-
-
Method Details
-
tokenize
-