public enum EtpEncoding extends Enum<EtpEncoding>
Enum Constant and Description |
---|
BINARY
Binary encoding.
|
JSON
Json encoding.
|
Modifier and Type | Method and Description |
---|---|
static EtpEncoding |
get(String tag)
Get encoding based on tag string.
|
String |
getTag()
Return tag of this encoding.
|
String |
toString() |
static EtpEncoding |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EtpEncoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EtpEncoding BINARY
public static final EtpEncoding JSON
public static EtpEncoding[] values()
for (EtpEncoding c : EtpEncoding.values()) System.out.println(c);
public static EtpEncoding 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 getTag()
public static EtpEncoding get(String tag)
tag
- Tag to find encoding for. Non-null.IllegalArgumentException
- If tag is null.public String toString()
toString
in class Enum<EtpEncoding>
Copyright © 2023 Petroware AS - https://petroware.no