public enum PluginType extends java.lang.Enum<PluginType>
Enum Constant and Description |
---|
BROWSER_PLUGIN |
NPAPI |
PEPPER_IN_PROCESS |
PEPPER_OUT_OF_PROCESS |
PEPPER_UNSANDBOXED |
UNDEFINED |
Modifier and Type | Method and Description |
---|---|
static PluginType |
fromString(java.lang.String value) |
static PluginType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
返回具有指定名称的此类型的枚举常量。 |
static PluginType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared.
以声明顺序返回包含此枚举类型的常量的数组。 |
public static final PluginType NPAPI
public static final PluginType PEPPER_IN_PROCESS
public static final PluginType PEPPER_OUT_OF_PROCESS
public static final PluginType PEPPER_UNSANDBOXED
public static final PluginType BROWSER_PLUGIN
public static final PluginType UNDEFINED
public static PluginType[] values()
for (PluginType c : PluginType.values()) System.out.println(c);
public static PluginType 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 name
java.lang.NullPointerException
- if the argument is null
public static PluginType fromString(java.lang.String value)