Package net.fortuna.ical4j.data
Interface CalendarParser
- All Known Implementing Classes:
CalendarParserImpl,HCalendarParser
public interface CalendarParser
$Id$ Created [Nov 5, 2004]Implementors provide iCalendar parsing functionality.
-
Method Summary
Modifier and TypeMethodDescriptionvoidparse(InputStream in, ContentHandler handler) Parse the iCalendar data from the specified input stream.voidparse(Reader in, ContentHandler handler) Parse the iCalendar data from the specified reader.
-
Method Details
-
parse
Parse the iCalendar data from the specified input stream.- 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.- 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
-