org.netbeans.api.java.platform
public final class Specification extends Object
Constructor and Description |
---|
Specification(String name,
SpecificationVersion version)
Creates new SDK Specification
|
Specification(String name,
SpecificationVersion version,
Profile[] profiles)
Creates new SDK Specification
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
String |
getName()
Returns the name of the Java specification e.g.
|
Profile[] |
getProfiles()
Returns profiles supported by the Java platform.
|
SpecificationVersion |
getVersion()
Returns the version of the Java specification e.g 1.4
|
int |
hashCode() |
String |
toString() |
public Specification(String name, SpecificationVersion version)
name
- of the specification e.g J2SEversion
- of the specification e.g. 1.4public Specification(String name, SpecificationVersion version, Profile[] profiles)
name
- of the specification e.g J2SEversion
- of the specification e.g. 1.4profiles
- of the Java SDKpublic final String getName()
public final SpecificationVersion getVersion()
public final Profile[] getProfiles()
Built on March 18 2014. | Portions Copyright 1997-2014 Sun Microsystems, Inc. All rights reserved.