protected static class ICalPropertyScribe.Splitter extends Object
| Constructor and Description |
|---|
ICalPropertyScribe.Splitter(char delimiter)
Creates a new splitter object.
|
| Modifier and Type | Method and Description |
|---|---|
ICalPropertyScribe.Splitter |
limit(int limit)
Sets the max number of split strings it should parse.
|
ICalPropertyScribe.Splitter |
nullEmpties(boolean nullEmpties)
Sets whether to treat empty elements as null elements.
|
List<String> |
split(String string)
Performs the split operation.
|
ICalPropertyScribe.Splitter |
unescape(boolean unescape)
Sets whether to unescape each split string.
|
public ICalPropertyScribe.Splitter(char delimiter)
delimiter - the delimiter character (e.g. ',')public ICalPropertyScribe.Splitter unescape(boolean unescape)
unescape - true to unescape, false not to (default is false)public ICalPropertyScribe.Splitter nullEmpties(boolean nullEmpties)
nullEmpties - true to treat them as null elements, false to
treat them as empty strings (default is false)public ICalPropertyScribe.Splitter limit(int limit)
limit - the max number of split stringsCopyright © 2013-2015 Michael Angstadt. All Rights Reserved.