android.text
public
static
class
android.text.TextUtils.SimpleStringSplitter
A simple string splitter.
If the final character in the string to split is the delimiter then no empty string will
be returned for the empty string after that delimeter. That is, splitting "a,b," on
comma will return "a", "b", not "a", "b", "".
Summary
Public Constructors
Public Methods
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Public Constructors
public
TextUtils.SimpleStringSplitter(char delimiter)
Initializes the splitter. setString may be called later.
Parameters
delimiter
| the delimeter on which to split
|
Public Methods
public
boolean
hasNext()
Returns if there are more elements to iterate.
Returns an Iterator for the elements in this object.
public
String
next()
Returns the next object in the iteration.
public
void
remove()
Removes the last object returned by next
from the
collection.
public
void
setString(String string)
Sets the string to split
Parameters
string
| the string to split
|