public enum ByteEncoding extends Enum<ByteEncoding>
Modifier and Type | Method and Description |
---|---|
static ByteEncoding |
fromString(String s)
To get the enum constant corresponding to the given String representation
|
String |
toString()
To convert an enum constant to its String representation
|
static ByteEncoding |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ByteEncoding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ByteEncoding BASE_64
public static final ByteEncoding RAW
public static ByteEncoding[] values()
for (ByteEncoding c : ByteEncoding.values()) System.out.println(c);
public static ByteEncoding 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<ByteEncoding>
public static ByteEncoding fromString(String s)
Copyright © 2016 Sensia Software LLC. All rights reserved.