public enum EncodingType extends Enum<EncodingType>
Enum Constant and Description |
---|
NOT_ENCODED |
URL |
Modifier and Type | Method and Description |
---|---|
String |
getValue() |
String |
toString() |
static EncodingType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EncodingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EncodingType NOT_ENCODED
public static final EncodingType URL
public static EncodingType[] values()
for (EncodingType c : EncodingType.values()) System.out.println(c);
public static EncodingType 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<EncodingType>
public String getValue()
Copyright © 2010–2016. All rights reserved.