Class LineBreak


  • public final class LineBreak
    extends Object
    Enumeration type for line breaks.
    Since:
    xmlenc 0.35
    Version:
    $Revision: 1.3 $ $Date: 2005/09/12 08:40:02 $
    Author:
    Jochen Schwoerer (j.schwoerer [at] web.de), Ernst de Haan (wfe.dehaan@gmail.com)
    • Field Detail

      • NONE

        public static final LineBreak NONE
        Empty line break. This is equivalent to using no line breaks.
      • UNIX

        public static final LineBreak UNIX
        Unix and MacOS/X line break. This represents the string "\n".
      • DOS

        public static final LineBreak DOS
        DOS and Windows line break. This represents the string "\r\n".
      • MACOS

        public static final LineBreak MACOS
        MacOS line break. This represents the string "\r".

        This applies to all MacOS versions before MacOS/X. Use UNIX as the MacOS/X line break.