protected static class VCardPropertyScribe.Splitter extends Object
Constructor and Description |
---|
Splitter(char delimiter)
Creates a new splitter object.
|
Modifier and Type | Method and Description |
---|---|
VCardPropertyScribe.Splitter |
limit(int limit)
Sets the max number of split strings it should parse.
|
VCardPropertyScribe.Splitter |
nullEmpties(boolean nullEmpties)
Sets whether to treat empty elements as null elements.
|
List<String> |
split(String string)
Performs the split operation.
|
VCardPropertyScribe.Splitter |
unescape(boolean unescape)
Sets whether to unescape each split string.
|
public Splitter(char delimiter)
delimiter
- the delimiter character (e.g. ',')public VCardPropertyScribe.Splitter unescape(boolean unescape)
unescape
- true to unescape, false not to (default is false)public VCardPropertyScribe.Splitter nullEmpties(boolean nullEmpties)
nullEmpties
- true to treat them as null elements, false to
treat them as empty strings (default is false)public VCardPropertyScribe.Splitter limit(int limit)
limit
- the max number of split stringsThis software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.