public enum LineEnding extends Enum<LineEnding>
XmlFormatPlugin.lineEnding.| Enum Constant and Description |
|---|
CR
Use the carriage return character.
|
CRLF
Use the carriage return and new line characters.
|
LF
Use the newline character.
|
SYSTEM
Use the system default line ending.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getChars() |
static LineEnding |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LineEnding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LineEnding SYSTEM
public static final LineEnding LF
public static final LineEnding CRLF
public static final LineEnding CR
public static LineEnding[] values()
for (LineEnding c : LineEnding.values()) System.out.println(c);
public static LineEnding valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getChars()
Copyright © 2011–2017 Acegi Technology Pty Limited. All rights reserved.