public static enum BOMNewlineEncodingDetector.NewlineType extends Enum<BOMNewlineEncodingDetector.NewlineType>
| Enum Constant and Description |
|---|
CR
Carriage Return, Old Mac OS
|
CRLF
Carriage Return Line Feed, Windows
|
LF
Line Feed, Linux/UNIX
|
UNKOWN
UNKOWN
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static BOMNewlineEncodingDetector.NewlineType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BOMNewlineEncodingDetector.NewlineType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BOMNewlineEncodingDetector.NewlineType CR
public static final BOMNewlineEncodingDetector.NewlineType LF
public static final BOMNewlineEncodingDetector.NewlineType CRLF
public static final BOMNewlineEncodingDetector.NewlineType UNKOWN
public static BOMNewlineEncodingDetector.NewlineType[] values()
for (BOMNewlineEncodingDetector.NewlineType c : BOMNewlineEncodingDetector.NewlineType.values()) System.out.println(c);
public static BOMNewlineEncodingDetector.NewlineType 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 toString()
toString in class Enum<BOMNewlineEncodingDetector.NewlineType>Copyright © 2021. All rights reserved.