Package aQute.libg.qtokens
Class QuotedTokenizer
java.lang.Object
aQute.libg.qtokens.QuotedTokenizer
-
Constructor Summary
ConstructorsConstructorDescriptionQuotedTokenizer
(String string, String separators) QuotedTokenizer
(String string, String separators, boolean returnTokens) QuotedTokenizer
(String string, String separators, boolean returnTokens, boolean retainQuotes) -
Method Summary
-
Constructor Details
-
QuotedTokenizer
-
QuotedTokenizer
-
QuotedTokenizer
-
-
Method Details
-
toString
-
nextToken
-
nextToken
-
getTokens
-
getSeparator
public char getSeparator() -
getTokenSet
-
stream
-
spliterator
- Specified by:
spliterator
in interfaceIterable<String>
-
iterator
-
forEach
-
quote
Quote a string when it is not a token (OSGi). If the string is already quoted (or backslash quoted) then these are removed before inspection to see if it is a token.- Parameters:
sb
- the outputvalue
- the value to quote
-