public static enum PluginAwareness.Flags extends 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(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(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 nullCopyright © 2015. All rights reserved.