Class FoldingWriter

    • Field Detail

      • REDUCED_FOLD_LENGTH

        public static final int REDUCED_FOLD_LENGTH
        reduced to 73 to be consistent with Apple iCal..
        See Also:
        Constant Field Values
      • MAX_FOLD_LENGTH

        public static final int MAX_FOLD_LENGTH
        Lines of text SHOULD NOT be longer than 75 octets, excluding the line break.
        See Also:
        Constant Field Values
    • Constructor Detail

      • FoldingWriter

        public FoldingWriter​(Writer writer,
                             int foldLength)
        Parameters:
        writer - a writer to write output to
        foldLength - the maximum line length
      • FoldingWriter

        public FoldingWriter​(Writer writer)
        Parameters:
        writer - a writer to write output to