$Id$
Created: Apr 5, 2004
| Modifier and Type | Field and Description |
|---|---|
| private Calendar | calendar
The calendar instance created by the builder. |
| private final ContentHandler | |
| private static final Charset | |
| private final CalendarParser | |
| private final TimeZoneRegistry |
| Access | Constructor and Description |
|---|---|
| public | |
| public | CalendarBuilder(final CalendarParser
a calendar parser used to parse calendar files parser)Constructs a new calendar builder using the specified calendar parser. |
| public | CalendarBuilder(final TimeZoneRegistry
a timezone registry to populate with discovered timezones tzRegistry)Constructs a new calendar builder using the specified timezone registry. |
| public | CalendarBuilder(CalendarParser
a calendar parser used to construct the calendar parser, TimeZoneRegistry a timezone registry used to retrieve tzRegistry)TimeZones and
register additional timezone information found
in the calendarConstructs a new instance using the specified parser and registry. |
| public | CalendarBuilder(CalendarParser
a custom calendar parser parser, PropertyFactoryRegistry propertyFactoryRegistry, ParameterFactoryRegistry parameterFactoryRegistry, TimeZoneRegistry a custom timezone registry tzRegistry)
Deprecated
|
| public | CalendarBuilder(CalendarParser
a custom calendar parser parser, Supplier<List<ParameterFactory<?>>> parameterFactorySupplier, Supplier<List<PropertyFactory<?>>> propertyFactorySupplier, Supplier<List<ComponentFactory<?>>> componentFactorySupplier, TimeZoneRegistry a custom timezone registry tzRegistry)
Deprecated
use
CalendarBuilder#CalendarBuilder(CalendarParser, ContentHandlerContext, TimeZoneRegistry)
|
| public | CalendarBuilder(CalendarParser
a custom calendar parser parser, ContentHandlerContext contentHandlerContext, TimeZoneRegistry a custom timezone registry tzRegistry)
|
| Modifier and Type | Method and Description |
|---|---|
| public Calendar | Returns: a calendar parsed from the specified input streaman input stream to read calendar data from in)Builds an iCalendar model from the specified input stream. |
| public Calendar | |
| public Calendar | Returns: a calendar parsed from the specified readeran unfolding reader to read data from uin)Build an iCalendar model by parsing data from the specified reader. |
| public final TimeZoneRegistry | Returns: a timezone registryReturns the timezone registry used in the construction of calendars. |
| calendar | back to summary |
|---|---|
| private Calendar calendar The calendar instance created by the builder. | |
| contentHandler | back to summary |
|---|---|
| private final ContentHandler contentHandler | |
| DEFAULT_CHARSET | back to summary |
|---|---|
| private static final Charset DEFAULT_CHARSET | |
| parser | back to summary |
|---|---|
| private final CalendarParser parser | |
| tzRegistry | back to summary |
|---|---|
| private final TimeZoneRegistry tzRegistry | |
| CalendarBuilder | back to summary |
|---|---|
| public CalendarBuilder() Default constructor. | |
| CalendarBuilder | back to summary |
|---|---|
| public CalendarBuilder(final CalendarParser parser) Constructs a new calendar builder using the specified calendar parser.
| |
| CalendarBuilder | back to summary |
|---|---|
| public CalendarBuilder(final TimeZoneRegistry tzRegistry) Constructs a new calendar builder using the specified timezone registry.
| |
| CalendarBuilder | back to summary |
|---|---|
| public CalendarBuilder(CalendarParser parser, TimeZoneRegistry tzRegistry) Constructs a new instance using the specified parser and registry.
| |
| CalendarBuilder | back to summary |
|---|---|
| public CalendarBuilder(CalendarParser parser, PropertyFactoryRegistry propertyFactoryRegistry, ParameterFactoryRegistry parameterFactoryRegistry, TimeZoneRegistry tzRegistry)
Deprecated
| |
| CalendarBuilder | back to summary |
|---|---|
| public CalendarBuilder(CalendarParser parser, Supplier<List<ParameterFactory<?>>> parameterFactorySupplier, Supplier<List<PropertyFactory<?>>> propertyFactorySupplier, Supplier<List<ComponentFactory<?>>> componentFactorySupplier, TimeZoneRegistry tzRegistry)
Deprecated use
| |
| CalendarBuilder | back to summary |
|---|---|
public CalendarBuilder(CalendarParser parser, ContentHandlerContext contentHandlerContext, TimeZoneRegistry tzRegistry)
| |
| build | back to summary |
|---|---|
| public Calendar build(final InputStream in) throws IOException, ParserException Builds an iCalendar model from the specified input stream.
| |
| build | back to summary |
|---|---|
| public Calendar build(final Reader in) throws IOException, ParserException Builds an iCalendar model from the specified reader. An
| |
| build | back to summary |
|---|---|
| public Calendar build(final UnfoldingReader uin) throws IOException, ParserException Build an iCalendar model by parsing data from the specified reader.
| |
| getRegistry | back to summary |
|---|---|
| public final TimeZoneRegistry getRegistry() Returns the timezone registry used in the construction of calendars.
| |