org.znerd.xmlenc
Class LineBreak
java.lang.Object
|
+--org.znerd.xmlenc.LineBreak
- public final class LineBreak
- extends Object
Enumeration type for line breaks.
- Since:
- xmlenc 0.35
- Version:
- $Revision: 1.2 $ $Date: 2004/02/14 18:11:36 $
- Author:
- Jochen Schwoerer (j.schwoerer [at] web.de), Ernst de Haan (znerd@FreeBSD.org)
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.
toString
public String toString()
- Overrides:
toString
in class Object
See http://xmlenc.sourceforge.net/.