|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<JavaVendors> org.apache.openjpa.lib.util.JavaVendors
public enum JavaVendors
Utilities for dealing with different Java vendors.
Enum Constant Summary | |
---|---|
IBM
|
|
OTHER
|
|
SUN
|
Method Summary | |
---|---|
static JavaVendors |
getCurrentVendor()
This static worker method returns the current Vendor. |
String |
getVirtualMachineClassName()
|
boolean |
isIBM()
This static worker method returns true if the current implementation is IBM. |
boolean |
isSun()
This static worker method returns true if the current implementation is Sun. |
static JavaVendors |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static JavaVendors[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final JavaVendors IBM
public static final JavaVendors SUN
public static final JavaVendors OTHER
Method Detail |
---|
public static JavaVendors[] values()
for (JavaVendors c : JavaVendors.values()) System.out.println(c);
public static JavaVendors valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static JavaVendors getCurrentVendor()
public boolean isIBM()
public boolean isSun()
public String getVirtualMachineClassName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |