public static enum PluginAwareness.Flags extends java.lang.Enum<PluginAwareness.Flags> implements PluginAwareness
PluginDescriptionFile.getAwareness().contains(flag).PluginAwareness.Flags| Enum Constant and Description |
|---|
UTF8
This specifies that all (text) resources stored in a plugin's jar
use UTF-8 encoding.
|
| Modifier and Type | Method and Description |
|---|---|
static PluginAwareness.Flags |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PluginAwareness.Flags[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PluginAwareness.Flags UTF8
JavaPlugin.getTextResource(String)public static PluginAwareness.Flags[] values()
for (PluginAwareness.Flags c : PluginAwareness.Flags.values()) System.out.println(c);
public static PluginAwareness.Flags valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null