public class CalendarParserImpl extends java.lang.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(java.io.InputStream in,
ContentHandler handler)
Parse the iCalendar data from the specified input stream.
|
void |
parse(java.io.Reader in,
ContentHandler handler)
Parse the iCalendar data from the specified reader.
|
public final void parse(java.io.InputStream in, ContentHandler handler) throws java.io.IOException, ParserException
parse
in interface CalendarParser
in
- an input stream from which to read iCalendar datahandler
- the content handler to notify during parsingjava.io.IOException
- thrown when unable to read from the specified streamParserException
- thrown if an error occurs during parsingpublic final void parse(java.io.Reader in, ContentHandler handler) throws java.io.IOException, ParserException
parse
in interface CalendarParser
in
- a reader from which to read iCalendar datahandler
- the content handler to notify during parsingjava.io.IOException
- thrown when unable to read from the specified readerParserException
- thrown if an error occurs during parsing