|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectezvcard.io.scribe.VCardPropertyScribe.Splitter
protected static class VCardPropertyScribe.Splitter
Factory class for splitting strings.
| Constructor Summary | |
|---|---|
VCardPropertyScribe.Splitter(String string,
String delimiter)
Creates a new splitter object. |
|
| Method Summary | |
|---|---|
VCardPropertyScribe.Splitter |
limit(int limit)
Sets the max number of split strings it should parse. |
VCardPropertyScribe.Splitter |
removeEmpties(boolean removeEmpties)
Sets whether to remove empty elements. |
List<String> |
split()
Performs the split operation. |
VCardPropertyScribe.Splitter |
unescape(boolean unescape)
Sets whether to unescape each split string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VCardPropertyScribe.Splitter(String string,
String delimiter)
string - the string to split (e.g. "one,two,three")delimiter - the delimiter (e.g. ",")| Method Detail |
|---|
public VCardPropertyScribe.Splitter removeEmpties(boolean removeEmpties)
removeEmpties - true to remove empty elements, false not to
(default is false)
public VCardPropertyScribe.Splitter unescape(boolean unescape)
unescape - true to unescape, false not to (default is false)
public VCardPropertyScribe.Splitter limit(int limit)
limit - the max number of split strings
public List<String> split()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||