public enum ConfigMod extends Enum<ConfigMod>
Enum Constant and Description |
---|
ENCODED
Encoded using the registered
ConfigEncoder . |
Modifier and Type | Method and Description |
---|---|
static List<ConfigMod> |
asModifiers(String s)
Converts a modifier string (e.g.
|
static List<ConfigMod> |
asModifiersReverse(String s)
Converts a modifier string (e.g.
|
static String |
asString(ConfigMod... mods)
Converts an array of modifiers to a modifier string.
|
static ConfigMod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConfigMod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfigMod ENCODED
ConfigEncoder
.public static ConfigMod[] values()
for (ConfigMod c : ConfigMod.values()) System.out.println(c);
public static ConfigMod 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 String asString(ConfigMod... mods)
mods
- The modifiers.public static List<ConfigMod> asModifiersReverse(String s)
Modifiers
in reverse order of how they appear in the string.s
- The modifier string.public static List<ConfigMod> asModifiers(String s)
Modifiers
.s
- The modifier string.Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.