net.fortuna.ical4j.data
public class FoldingWriter extends FilterWriter
$Id$ [Apr 6, 2004]A writer that performs iCalendar folding as it writes.
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_FOLD_LENGTH
Lines of text SHOULD NOT be longer than 75 octets, excluding the line break.
|
static int |
REDUCED_FOLD_LENGTH
reduced to 73 to be consistent with Apple iCal..
|
out| Constructor and Description |
|---|
FoldingWriter(Writer writer) |
FoldingWriter(Writer writer,
int foldLength) |
public static final int REDUCED_FOLD_LENGTH
public static final int MAX_FOLD_LENGTH
public FoldingWriter(Writer writer, int foldLength)
writer - a writer to write output tofoldLength - the maximum line lengthpublic FoldingWriter(Writer writer)
writer - a writer to write output topublic final void write(int c)
throws IOException
write in class FilterWriterIOExceptionpublic final void write(char[] buffer,
int offset,
int length)
throws IOException
write in class FilterWriterIOExceptionpublic final void write(String str, int off, int len) throws IOException
write in class FilterWriterIOExceptionCopyright © 2004-2013 Micronode. All Rights Reserved.