iaik.me.utils
Class SimpleStringTokenizer

java.lang.Object
  |
  +--iaik.me.utils.SimpleStringTokenizer

public class SimpleStringTokenizer
extends Object


Constructor Summary
SimpleStringTokenizer(String s, char delimiter)
          Creates a new string tokenizer with the string to parse and the delimiter.
 
Method Summary
 int countTokens()
          Counts the number of tokens in the string.
 boolean hasMoreTokens()
          Returns true if a string has more tokens.
 String nextToken()
          Searches for the next token in the string and returns the string between two tokens.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleStringTokenizer

public SimpleStringTokenizer(String s,
                             char delimiter)
Creates a new string tokenizer with the string to parse and the delimiter.
Parameters:
string -  
delimiter -  
Method Detail

nextToken

public String nextToken()
Searches for the next token in the string and returns the string between two tokens.
Returns:
string

hasMoreTokens

public boolean hasMoreTokens()
Returns true if a string has more tokens.
Returns:
true if there are more tokens else false

countTokens

public int countTokens()
Counts the number of tokens in the string.
Returns:
found tokens

This Javadoc may contain text parts from IETF Internet Standard specifications, see copyright note) and RSA Data Security Public-Key Cryptography Standards (see copyright note).

IAIK-JCE ME 3.04, (c) 2002 IAIK, (c) 2003 to 2006 Stiftung SIC