org.znerd.xmlenc
Class LineBreak

java.lang.Object
  extended byorg.znerd.xmlenc.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 Summary
static LineBreak DOS
          DOS and Windows line break.
static LineBreak MACOS
          MacOS line break.
static LineBreak NONE
          Empty line break.
static LineBreak UNIX
          Unix and MacOS/X line break.
 
Method Summary
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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.

Method Detail

toString

public String toString()


See http://xmlenc.sourceforge.net/.