public class XmlCalendarBuilder extends Object
| Constructor and Description |
|---|
XmlCalendarBuilder(net.fortuna.ical4j.model.TimeZoneRegistry tzRegistry) |
| Modifier and Type | Method and Description |
|---|---|
net.fortuna.ical4j.model.Calendar |
build(InputStream in)
Builds an iCalendar model from the specified input stream.
|
net.fortuna.ical4j.model.Calendar |
build(Reader in)
Build an iCalendar model by parsing data from the specified reader.
|
protected Collection<Element> |
getChildren(Node nd) |
protected Element[] |
getChildrenArray(Node nd) |
protected String |
getElementContent(Element el) |
protected Element |
getOnlyChild(Node nd) |
net.fortuna.ical4j.model.TimeZoneRegistry |
getRegistry()
Returns the timezone registry used in the construction of calendars.
|
protected boolean |
isEmpty(Element el) |
public XmlCalendarBuilder(net.fortuna.ical4j.model.TimeZoneRegistry tzRegistry)
tzRegistry - a custom timezone registrypublic net.fortuna.ical4j.model.Calendar build(InputStream in) throws IOException, net.fortuna.ical4j.data.ParserException
in - an input stream to read calendar data fromIOException - where an error occurs reading data from the specified streamnet.fortuna.ical4j.data.ParserException - where an error occurs parsing data from the streampublic net.fortuna.ical4j.model.Calendar build(Reader in) throws IOException, net.fortuna.ical4j.data.ParserException
in - an unfolding reader to read data fromIOException - where an error occurs reading data from the specified readernet.fortuna.ical4j.data.ParserException - where an error occurs parsing data from the readerpublic final net.fortuna.ical4j.model.TimeZoneRegistry getRegistry()
protected Collection<Element> getChildren(Node nd) throws net.fortuna.ical4j.data.ParserException
net.fortuna.ical4j.data.ParserExceptionprotected Element[] getChildrenArray(Node nd) throws net.fortuna.ical4j.data.ParserException
net.fortuna.ical4j.data.ParserExceptionprotected Element getOnlyChild(Node nd) throws net.fortuna.ical4j.data.ParserException
net.fortuna.ical4j.data.ParserExceptionprotected String getElementContent(Element el) throws net.fortuna.ical4j.data.ParserException
net.fortuna.ical4j.data.ParserExceptionprotected boolean isEmpty(Element el) throws net.fortuna.ical4j.data.ParserException
net.fortuna.ical4j.data.ParserExceptionCopyright © 2016 Bedework. All rights reserved.