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: CalendarOutputter.java,v 1.19 2011/02/20 03:12:32 fortuna Exp $ [Apr 5, 2004]
Writes an iCalendar model to an output stream.
- Author:
- Ben Fortuna
|
Method Summary |
void |
output(Calendar calendar,
java.io.OutputStream out)
Outputs an iCalender string to the specified output stream. |
void |
output(Calendar calendar,
java.io.Writer out)
Outputs an iCalender string to the specified writer. |
| 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,
java.io.OutputStream out)
throws java.io.IOException,
ValidationException
- Outputs an iCalender string to the specified output stream.
- Parameters:
calendar - calendar to write to ouput streamout - an output stream
- Throws:
java.io.IOException - thrown when unable to write to output stream
ValidationException - where calendar validation fails
output
public final void output(Calendar calendar,
java.io.Writer out)
throws java.io.IOException,
ValidationException
- Outputs an iCalender string to the specified writer.
- Parameters:
calendar - calendar to write to writerout - a writer
- Throws:
java.io.IOException - thrown when unable to write to writer
ValidationException - where calendar validation fails
Copyright © 2004-2011 Modularity. All Rights Reserved.