com.aicas.jamaica.util
Class StringTokenizerWithQuotes
java.lang.Object
com.aicas.jamaica.util.StringTokenizerWithQuotes
public class StringTokenizerWithQuotes
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringTokenizerWithQuotes
public StringTokenizerWithQuotes(String string)
throws TokenizerException
- Tokenizer that uses Spaces, Tabs, Newlines, Returns, and Form
Feed as delimiters. Never return delimiters as tokens.
- Throws:
TokenizerException
StringTokenizerWithQuotes
public StringTokenizerWithQuotes(String string,
String separators)
throws TokenizerException
- Tokenizer that uses a user-defined set of delimiters. Never
return delimiters as tokens.
- Parameters:
separators - The delimiters to be used.
- Throws:
TokenizerException
hasMoreTokens
public boolean hasMoreTokens()
- Returns:
- True, iff nextToken() will return another token. False,
if nextToken() will throw a TokenizerException.
nextToken
public String nextToken()
throws TokenizerException
- Find the next token in this string tokenizer. Quote symbols \"
will not be stripped.
- Returns:
- The next token from this tokenizer.
- Throws:
TokenizerException
countTokens
public int countTokens()
aicas GmbH, Karlsruhe - Germany www.aicas.com
Copyright 2001-2009 aicas GmbH. All Rights Reserved.