net.fortuna.ical4j.data
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 CalendarParserin - 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 CalendarParserin - 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 parsingCopyright © 2004-2014 Micronode. All Rights Reserved.