net.fortuna.ical4j.data
Class FoldingWriter
java.lang.Object
java.io.Writer
java.io.FilterWriter
net.fortuna.ical4j.data.FoldingWriter
- public class FoldingWriter
- extends FilterWriter
A writer that performs iCalendar folding as it writes.
- Author:
- Ben Fortuna
Method Summary |
void |
write(char[] buffer,
int offset,
int length)
|
void |
write(int c)
|
void |
write(String str,
int off,
int len)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REDUCED_FOLD_LENGTH
public static final int REDUCED_FOLD_LENGTH
- See Also:
- Constant Field Values
MAX_FOLD_LENGTH
public static final int MAX_FOLD_LENGTH
- See Also:
- Constant Field Values
FoldingWriter
public FoldingWriter(Writer writer,
int foldLength)
- Parameters:
writer
- a writer to write output tofoldLength
-
FoldingWriter
public FoldingWriter(Writer writer)
- Parameters:
writer
- a writer to write output to
write
public final void write(int c)
throws IOException
- Throws:
IOException
write
public final void write(char[] buffer,
int offset,
int length)
throws IOException
- Throws:
IOException
write
public final void write(String str,
int off,
int len)
throws IOException
- Throws:
IOException