java.lang.Object
net.fortuna.ical4j.data.CalendarParserImpl
- All Implemented Interfaces:
CalendarParser
$Id$ Created [Nov 5, 2004]The default implementation of a calendar parser.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal voidparse(InputStream in, ContentHandler handler) Parse the iCalendar data from the specified input stream.final voidparse(Reader in, ContentHandler handler) Parse the iCalendar data from the specified reader.
-
Constructor Details
-
CalendarParserImpl
public CalendarParserImpl() -
CalendarParserImpl
public CalendarParserImpl(boolean absorbWhitespaceEnabled)
-
-
Method Details
-
parse
Parse the iCalendar data from the specified input stream.- Specified by:
parsein interfaceCalendarParser- Parameters:
in- an input stream from which to read iCalendar datahandler- the content handler to notify during parsing- Throws:
IOException- thrown when unable to read from the specified streamParserException- thrown if an error occurs during parsing
-
parse
Parse the iCalendar data from the specified reader.- Specified by:
parsein interfaceCalendarParser- Parameters:
in- a reader from which to read iCalendar datahandler- the content handler to notify during parsing- Throws:
IOException- thrown when unable to read from the specified readerParserException- thrown if an error occurs during parsing
-