org.apache.maven.util
Class EnhancedStringTokenizer
java.lang.Object
org.apache.maven.util.EnhancedStringTokenizer
- public final class EnhancedStringTokenizer
- extends java.lang.Object
The java.util.StringTokenizer is horribly broken.
Given the string 1,,,3,,4 (, delim)
It will return 1,3,4
Which is clearly wrong - 1,EMPTY,EMPTY,3,EMPTY,4 is what it should return
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cdelim
java.lang.String cdelim
cdelimSingleChar
final boolean cdelimSingleChar
cdelimChar
final char cdelimChar
creturnDelims
boolean creturnDelims
lastToken
java.lang.String lastToken
delimLast
boolean delimLast
EnhancedStringTokenizer
public EnhancedStringTokenizer(java.lang.String str)
EnhancedStringTokenizer
public EnhancedStringTokenizer(java.lang.String str,
java.lang.String delim)
EnhancedStringTokenizer
public EnhancedStringTokenizer(java.lang.String str,
java.lang.String delim,
boolean returnDelims)
hasMoreTokens
public boolean hasMoreTokens()
nextToken
public java.lang.String nextToken()
Copyright © 2001-2008 Apache Software Foundation. All Rights Reserved.