Top Description Methods
net.fortuna.ical4j.data

public Interface CalendarParser

Known Direct Implementers
net.fortuna.ical4j.data.CalendarParserImpl, net.fortuna.ical4j.data.HCalendarParser
Imports
java.io.InputStream, .IOException, .Reader

$Id$

Created [Nov 5, 2004]
Implementors provide iCalendar parsing functionality.
Author
Ben Fortuna

Method Summary

Modifier and TypeMethod and Description
public void
parse(InputStream
an input stream from which to read iCalendar data
in
,
ContentHandler
the content handler to notify during parsing
handler
)

Parse the iCalendar data from the specified input stream.

public void
parse(Reader
a reader from which to read iCalendar data
in
,
ContentHandler
the content handler to notify during parsing
handler
)

Parse the iCalendar data from the specified reader.

Method Detail

parseback to summary
public void parse(InputStream in, ContentHandler handler) throws IOException, ParserException

Parse the iCalendar data from the specified input stream.

Parameters
in:InputStream

an input stream from which to read iCalendar data

handler:ContentHandler

the content handler to notify during parsing

Exceptions
IOException:
thrown when unable to read from the specified stream
ParserException:
thrown if an error occurs during parsing
parseback to summary
public void parse(Reader in, ContentHandler handler) throws IOException, ParserException

Parse the iCalendar data from the specified reader.

Parameters
in:Reader

a reader from which to read iCalendar data

handler:ContentHandler

the content handler to notify during parsing

Exceptions
IOException:
thrown when unable to read from the specified reader
ParserException:
thrown if an error occurs during parsing