java.lang.Object
java.io.Writer
java.io.FilterWriter
net.fortuna.ical4j.data.FoldingWriter
- All Implemented Interfaces:
Closeable,Flushable,Appendable,AutoCloseable
$Id$ [Apr 6, 2004]A writer that performs iCalendar folding as it writes.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intLines of text SHOULD NOT be longer than 75 octets, excluding the line break.static final intreduced to 73 to be consistent with Apple iCal..Fields inherited from class java.io.FilterWriter
out -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.FilterWriter
close, flush
-
Field Details
-
REDUCED_FOLD_LENGTH
public static final int REDUCED_FOLD_LENGTHreduced to 73 to be consistent with Apple iCal..- See Also:
-
MAX_FOLD_LENGTH
public static final int MAX_FOLD_LENGTHLines of text SHOULD NOT be longer than 75 octets, excluding the line break.- See Also:
-
-
Constructor Details
-
FoldingWriter
- Parameters:
writer- a writer to write output tofoldLength- the maximum line length
-
FoldingWriter
- Parameters:
writer- a writer to write output to
-
-
Method Details
-
write
- Overrides:
writein classFilterWriter- Throws:
IOException
-
write
- Overrides:
writein classFilterWriter- Throws:
IOException
-
write
- Overrides:
writein classFilterWriter- Throws:
IOException
-