protected static enum ClassFileVersion.VersionPropertyAction extends Enum<ClassFileVersion.VersionPropertyAction> implements PrivilegedAction<String>
java.version
property.Enum Constant and Description |
---|
INSTANCE
The singleton instance.
|
Modifier and Type | Method and Description |
---|---|
String |
run() |
String |
toString() |
static ClassFileVersion.VersionPropertyAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClassFileVersion.VersionPropertyAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClassFileVersion.VersionPropertyAction INSTANCE
public static ClassFileVersion.VersionPropertyAction[] values()
for (ClassFileVersion.VersionPropertyAction c : ClassFileVersion.VersionPropertyAction.values()) System.out.println(c);
public static ClassFileVersion.VersionPropertyAction 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 String run()
run
in interface PrivilegedAction<String>
public String toString()
toString
in class Enum<ClassFileVersion.VersionPropertyAction>
Copyright © 2014–2016. All rights reserved.