public enum EndLine extends Enum<EndLine>
| Enum Constant and Description |
|---|
Default
Кодировка строк по умолчанию (ОС)
|
Linux
Кодировка строк принятая в ОС Linux/Unix.
|
Mac
Кодировка строк принятая в ОС Mac.
|
Other
Альтернативный тип кодировок строк.
|
Windows
Кодировка строк принятая в ОС Windows.
|
| Modifier and Type | Method and Description |
|---|---|
String |
get()
Вовзаращет представление символов перевода строк
|
static EndLine |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EndLine[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EndLine Default
public static final EndLine Windows
public static final EndLine Mac
public static final EndLine Linux
public static final EndLine Other
public static EndLine[] values()
for (EndLine c : EndLine.values()) System.out.println(c);
public static EndLine 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 get()
Copyright © 2018. All rights reserved.