|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.znerd.xmlenc.LineBreak
Enumeration type for line breaks.
| Field Summary | |
private String |
_lineBreak
The characters this line break consists of. |
(package private) char[] |
_lineBreakChars
A character array containing the characters this line break consists of. |
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. |
| Constructor Summary | |
private |
LineBreak(String lineBreak)
Constructs a new LineBreak that consists of the specified
characters. |
| Method Summary | |
String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private final String _lineBreak
final char[] _lineBreakChars
public static final LineBreak NONE
public static final LineBreak UNIX
"\n".
public static final LineBreak DOS
"\r\n".
public static final LineBreak MACOS
"\r".
This applies to all MacOS versions before MacOS/X. Use
UNIX as the MacOS/X line break.
| Constructor Detail |
private LineBreak(String lineBreak)
LineBreak that consists of the specified
characters.
lineBreak - the characters the line break consists of.| Method Detail |
public String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||