com.funambol.syncclient.sps.common.util
Class StrParser
java.lang.Object
com.funambol.syncclient.sps.common.util.StrParser
public class StrParser
- extends java.lang.Object
This class implements string parser by parserDelimiter.
- Version:
- $Id: StrParser.java,v 1.3 2007-12-22 18:09:18 nichele Exp $
Constructor Summary |
StrParser(java.lang.String str,
java.lang.String parserDelim)
Constructs a string parser for the specified string by parserDelimiter. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StrParser
public StrParser(java.lang.String str,
java.lang.String parserDelim)
- Constructs a string parser for the specified string by parserDelimiter.
- Parameters:
str
- string to be parsedparserDelim
- delimiter
hasMoreElements
public boolean hasMoreElements()
- Verify if available more elements about this StrParser.
- Returns:
true
if available more elements.
false
if not available more elements.
nextElement
public java.lang.String nextElement()
- Returns:
- next element about this StrParser.
countElements
public int countElements()
- Returns:
- number of elements about this StrParser.
Copyright © 2010 Funambol. All Rights Reserved.