aQute.bnd.osgi
Enum Clazz.JAVA
java.lang.Object
java.lang.Enum<Clazz.JAVA>
aQute.bnd.osgi.Clazz.JAVA
- All Implemented Interfaces:
- Serializable, Comparable<Clazz.JAVA>
- Enclosing class:
- Clazz
public static enum Clazz.JAVA
- extends Enum<Clazz.JAVA>
JDK1_1
public static final Clazz.JAVA JDK1_1
JDK1_2
public static final Clazz.JAVA JDK1_2
JDK1_3
public static final Clazz.JAVA JDK1_3
JDK1_4
public static final Clazz.JAVA JDK1_4
J2SE5
public static final Clazz.JAVA J2SE5
J2SE6
public static final Clazz.JAVA J2SE6
OpenJDK7
public static final Clazz.JAVA OpenJDK7
OpenJDK8
public static final Clazz.JAVA OpenJDK8
UNKNOWN
public static final Clazz.JAVA UNKNOWN
values
public static Clazz.JAVA[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Clazz.JAVA c : Clazz.JAVA.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Clazz.JAVA valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
getMajor
public int getMajor()
hasAnnotations
public boolean hasAnnotations()
hasGenerics
public boolean hasGenerics()
hasEnums
public boolean hasEnums()
getJava
public static Clazz.JAVA getJava(int major,
int minor)
getEE
public String getEE()
getFilter
public String getFilter()
getProfiles
public Map<String,Set<String>> getProfiles()
throws IOException
- Throws:
IOException
Copyright © 2014 aQute SARL. All rights reserved.