public static class Biweekly.ParserChainTextString extends Object
Biweekly.parse(String)
Modifier and Type | Method and Description |
---|---|
List<ICalendar> |
all()
Reads all iCalendar objects from the data stream.
|
Biweekly.ParserChainTextString |
caretDecoding(boolean enable)
Sets whether the reader will decode parameter values that use
circumflex accent encoding (enabled by default).
|
ICalendar |
first()
Reads the first iCalendar object from the data stream.
|
Biweekly.ParserChainTextString |
register(ICalComponentScribe<? extends ICalComponent> scribe)
Registers a component scribe.
|
Biweekly.ParserChainTextString |
register(ICalPropertyScribe<? extends ICalProperty> scribe)
Registers a property scribe.
|
Biweekly.ParserChainTextString |
warnings(List<List<String>> warnings)
Provides a list for putting the parser warnings into.
|
public Biweekly.ParserChainTextString register(ICalPropertyScribe<? extends ICalProperty> scribe)
scribe
- the scribepublic Biweekly.ParserChainTextString register(ICalComponentScribe<? extends ICalComponent> scribe)
scribe
- the scribepublic Biweekly.ParserChainTextString warnings(List<List<String>> warnings)
warnings
- the list object to populate (it is a
"list of lists"--each parsed ICalendar
object has its own
warnings list)public Biweekly.ParserChainTextString caretDecoding(boolean enable)
enable
- true to use circumflex accent decoding, false not toICalRawReader.setCaretDecodingEnabled(boolean)
public ICalendar first()
Copyright © 2013-2015 Michael Angstadt. All Rights Reserved.