|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.fortuna.ical4j.data.CalendarOutputter
Writes an iCalendar model to an output stream.
Constructor Summary | |
CalendarOutputter()
Default constructor. |
|
CalendarOutputter(boolean validating)
|
|
CalendarOutputter(boolean validating,
int foldLength)
|
Method Summary | |
boolean |
isValidating()
|
void |
output(Calendar calendar,
OutputStream out)
Outputs an iCalender string to the specified output stream. |
void |
output(Calendar calendar,
Writer out)
Outputs an iCalender string to the specified writer. |
void |
setValidating(boolean validating)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CalendarOutputter()
public CalendarOutputter(boolean validating)
validating
- indicates whether to validate
calendar when outputting to streampublic CalendarOutputter(boolean validating, int foldLength)
validating
- indicates whether to validate
calendar when outputting to streamfoldLength
- maximum number of characters before a line
is foldedMethod Detail |
public final void output(Calendar calendar, OutputStream out) throws IOException, ValidationException
calendar
- calendar to write to ouput streamout
- an output stream
IOException
- thrown when unable to write to output stream
ValidationException
public final void output(Calendar calendar, Writer out) throws IOException, ValidationException
calendar
- calendar to write to writerout
- a writer
IOException
- thrown when unable to write to writer
ValidationException
public final boolean isValidating()
public final void setValidating(boolean validating)
validating
- The validating to set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |