Package net.fortuna.ical4j.data
Class CalendarParserFactory
- java.lang.Object
-
- net.fortuna.ical4j.data.CalendarParserFactory
-
- All Implemented Interfaces:
Supplier<CalendarParser>
- Direct Known Subclasses:
HCalendarParserFactory
public abstract class CalendarParserFactory extends Object implements Supplier<CalendarParser>
$Id$ Created on 08/02/2007
Provides access to the configuredCalendarParser
instance. Alternative factory implementations may be specified via the following system property:net.fortuna.ical4j.parser=<factory_class_name>
-
-
Field Summary
Fields Modifier and Type Field Description static String
KEY_FACTORY_CLASS
The system property used to specify an alternateCalendarParser
implementation.
-
Constructor Summary
Constructors Constructor Description CalendarParserFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Supplier<CalendarParser>
getInstance()
-
-
-
Field Detail
-
KEY_FACTORY_CLASS
public static final String KEY_FACTORY_CLASS
The system property used to specify an alternateCalendarParser
implementation.- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static Supplier<CalendarParser> getInstance()
- Returns:
- a shared factory instance
-
-