public enum Encoding extends Enum<Encoding>
Enum Constant and Description |
---|
CRLF
CRLF encoding.
|
L1
L1 encoding.
|
L2
L2 encoding.
|
L4
L4 encoding.
|
LF
LF encoding.
|
NULL
Null encoding.
|
RAW
Raw encoding.
|
STXETX
STXETX encoding.
|
Modifier and Type | Method and Description |
---|---|
static Encoding |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Encoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Encoding CRLF
public static final Encoding LF
public static final Encoding NULL
public static final Encoding STXETX
public static final Encoding RAW
public static final Encoding L1
public static final Encoding L2
public static final Encoding L4
public static Encoding[] values()
for (Encoding c : Encoding.values()) System.out.println(c);
public static Encoding 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 nullCopyright © 2022. All rights reserved.