|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xnap.util.QuotedStringTokenizer
public class QuotedStringTokenizer
Provides a string tokenizer that respects quotes. If a separator is followed by a quote the next token will extent to the next quote even if there are separators in between.
Constructor Summary | |
---|---|
QuotedStringTokenizer(java.lang.String s)
Constructs a QuotedStringTokenizer . |
|
QuotedStringTokenizer(java.lang.String s,
java.lang.String separators)
Constructs a QuotedStringTokenizer . |
Method Summary | |
---|---|
java.lang.String |
allNextTokens()
Return the remaining tokens. |
int |
countTokens()
|
java.lang.String[] |
getTokens()
|
boolean |
hasMoreTokens()
|
java.lang.String |
nextToken()
|
protected void |
parse(java.lang.String s,
java.lang.String separators)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QuotedStringTokenizer(java.lang.String s, java.lang.String separators)
QuotedStringTokenizer
.
StringTokenizer
public QuotedStringTokenizer(java.lang.String s)
QuotedStringTokenizer
.
StringTokenizer
Method Detail |
---|
public java.lang.String allNextTokens()
public int countTokens()
public boolean hasMoreTokens()
public java.lang.String nextToken()
public java.lang.String[] getTokens()
protected void parse(java.lang.String s, java.lang.String separators)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |