public enum StaticEncoder extends Enum<StaticEncoder> implements java.util.function.Function<String,String>
| Modifier and Type | Method and Description |
|---|---|
String |
apply(String source) |
static StaticEncoder |
getValue(String tag) |
static StaticEncoder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StaticEncoder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfandThen, compose, identitypublic static final StaticEncoder B64
public static final StaticEncoder UTF8
public static final StaticEncoder NO_ENCODE
public static StaticEncoder[] values()
for (StaticEncoder c : StaticEncoder.values()) System.out.println(c);
public static StaticEncoder 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 static StaticEncoder getValue(String tag)
public String apply(String source)
apply in interface java.util.function.Function<String,String>Copyright © 2019. All rights reserved.