public interface CalendarParser
$Id$ Created [Nov 5, 2004]Implementors provide iCalendar parsing functionality.
| Modifier and Type | Method and Description |
|---|---|
void |
parse(InputStream in,
ContentHandler handler)
Parse the iCalendar data from the specified input stream.
|
void |
parse(Reader in,
ContentHandler handler)
Parse the iCalendar data from the specified reader.
|
void parse(InputStream in, ContentHandler handler) throws IOException, ParserException
in - an input stream from which to read iCalendar datahandler - the content handler to notify during parsingIOException - thrown when unable to read from the specified streamParserException - thrown if an error occurs during parsingvoid parse(Reader in, ContentHandler handler) throws IOException, ParserException
in - a reader from which to read iCalendar datahandler - the content handler to notify during parsingIOException - thrown when unable to read from the specified readerParserException - thrown if an error occurs during parsing