public class CalendarParserImpl extends Object implements CalendarParser
$Id$ Created [Nov 5, 2004]The default implementation of a calendar parser.
| Constructor and Description |
|---|
CalendarParserImpl() |
| 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.
|
public final void parse(InputStream in, ContentHandler handler) throws IOException, ParserException
parse in interface CalendarParserin - 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 parsingpublic final void parse(Reader in, ContentHandler handler) throws IOException, ParserException
parse in interface CalendarParserin - 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