org.xnap.commons.util
Class QuotedStringTokenizer
java.lang.Object
org.xnap.commons.util.QuotedStringTokenizer
public class QuotedStringTokenizer
- extends Object
Provides a string tokenizer that respects quotes. If a separator is followed
by a quote the next token will extend to the next quote even if there are
separators in between.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QUOTE
public static final String QUOTE
- See Also:
- Constant Field Values
QUOTE_CHAR
public static final char QUOTE_CHAR
- See Also:
- Constant Field Values
QuotedStringTokenizer
public QuotedStringTokenizer(String text,
String separators,
boolean returnSeparators)
- Constructs a
QuotedStringTokenizer
.
- See Also:
StringTokenizer
QuotedStringTokenizer
public QuotedStringTokenizer(String text,
String separators)
- Constructs a
QuotedStringTokenizer
.
- See Also:
StringTokenizer
QuotedStringTokenizer
public QuotedStringTokenizer(String text)
- Constructs a
QuotedStringTokenizer
.
- See Also:
StringTokenizer
countTokens
public int countTokens()
hasMoreTokens
public boolean hasMoreTokens()
nextToken
public String nextToken(String separators)
nextToken
public String nextToken()
nextToken
protected org.xnap.commons.util.QuotedStringTokenizer.Token nextToken(int index)
Copyright © 2004-2007 XNap Commons Team. All Rights Reserved.