org.fusesource.web.console.client.util
Class GwtStringTokenizer
java.lang.Object
org.fusesource.web.console.client.util.GwtStringTokenizer
public class GwtStringTokenizer
- extends java.lang.Object
|
Method Summary |
int |
countTokens()
|
boolean |
hasMoreTokens()
|
java.lang.String |
nextToken()
|
static java.util.LinkedList<java.lang.String> |
toList(GwtStringTokenizer tokenizer)
Tokens the text with the separator into a list of trimmed tokens |
static java.util.LinkedList<java.lang.String> |
toList(java.lang.String text)
Tokens the text with the separator into a list of trimmed tokens |
static java.util.LinkedList<java.lang.String> |
toList(java.lang.String text,
java.lang.String separator)
Tokens the text with the separator into a list of trimmed tokens |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GwtStringTokenizer
public GwtStringTokenizer(java.lang.String str)
GwtStringTokenizer
public GwtStringTokenizer(java.lang.String str,
java.lang.String delimeter)
toList
public static java.util.LinkedList<java.lang.String> toList(java.lang.String text)
- Tokens the text with the separator into a list of trimmed tokens
- Parameters:
text -
- Returns:
- a list of tokens
toList
public static java.util.LinkedList<java.lang.String> toList(java.lang.String text,
java.lang.String separator)
- Tokens the text with the separator into a list of trimmed tokens
- Parameters:
text - separator -
- Returns:
- a list of tokens
toList
public static java.util.LinkedList<java.lang.String> toList(GwtStringTokenizer tokenizer)
- Tokens the text with the separator into a list of trimmed tokens
- Parameters:
tokenizer -
- Returns:
- a list of tokens
hasMoreTokens
public boolean hasMoreTokens()
nextToken
public java.lang.String nextToken()
throws java.lang.RuntimeException
- Throws:
java.lang.RuntimeException
countTokens
public int countTokens()
Copyright © 2009 FuseSource. All Rights Reserved.