net.fortuna.ical4j.data

Interface CalendarParser

public interface CalendarParser

$Id: CalendarParser.java,v 1.8 2008/12/16 12:34:54 fortuna Exp $ Created [Nov 5, 2004] Implementors provide iCalendar parsing functionality.

Method Summary

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.

Method Details

parse

public void parse(InputStream in,
                  ContentHandler handler)
            throws IOException,
                   ParserException
Parse the iCalendar data from the specified input stream.
Parameters:
in - an input stream from which to read iCalendar data
handler - the content handler to notify during parsing

parse

public void parse(Reader in,
                  ContentHandler handler)
            throws IOException,
                   ParserException
Parse the iCalendar data from the specified reader.
Parameters:
in - a reader from which to read iCalendar data
handler - the content handler to notify during parsing