public class JsonCalendarBuilder extends Object
| Constructor and Description |
|---|
JsonCalendarBuilder(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.
|
net.fortuna.ical4j.model.TimeZoneRegistry |
getRegistry()
Returns the timezone registry used in the construction of calendars.
|
public JsonCalendarBuilder(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()
Copyright © 2016 Bedework. All rights reserved.