net.fortuna.ical4j.data
Class CalendarOutputter
java.lang.Object
net.fortuna.ical4j.data.AbstractOutputter
net.fortuna.ical4j.data.CalendarOutputter
public class CalendarOutputter
- extends AbstractOutputter
$Id$ [Apr 5, 2004]
Writes an iCalendar model to an output stream.
- Author:
- Ben Fortuna
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CalendarOutputter
public CalendarOutputter()
- Default constructor.
CalendarOutputter
public CalendarOutputter(boolean validating)
- Parameters:
validating - indicates whether to validate calendar when outputting to stream
CalendarOutputter
public CalendarOutputter(boolean validating,
int foldLength)
- Parameters:
validating - indicates whether to validate calendar when outputting to streamfoldLength - maximum number of characters before a line is folded
output
public final void output(Calendar calendar,
OutputStream out)
throws IOException,
ValidationException
- Outputs an iCalender string to the specified output stream.
- Parameters:
calendar - calendar to write to ouput streamout - an output stream
- Throws:
IOException - thrown when unable to write to output stream
ValidationException - where calendar validation fails
output
public final void output(Calendar calendar,
Writer out)
throws IOException,
ValidationException
- Outputs an iCalender string to the specified writer.
- Parameters:
calendar - calendar to write to writerout - a writer
- Throws:
IOException - thrown when unable to write to writer
ValidationException - where calendar validation fails
Copyright © 2004-2011 Micronode. All Rights Reserved.