站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc 4.1.0

Specification (NetBeans Java Platform API) - NetBeans API Javadoc 4.1.0

 

org.netbeans.api.java.platform
Class Specification

java.lang.Object
  extended byorg.netbeans.api.java.platform.Specification

public final class Specification
extends Object

Specification of the Java SDK


Constructor Summary
Specification(String name, SpecificationVersion version)
          Creates new SDK Specification
Specification(String name, SpecificationVersion version, Profile[] profiles)
          Creates new SDK Specification
 
Method Summary
 boolean equals(Object other)
           
 String getName()
          Returns the name of the Java specification e.g.
 Profile[] getProfiles()
          Returns profiles supported by the Java SDK
 SpecificationVersion getVersion()
          Returns the version of the Java specification e.g 1.4
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Specification

public Specification(String name,
                     SpecificationVersion version)
Creates new SDK Specification

Parameters:
name - of the specification e.g J2SE
version - of the specification e.g. 1.4

Specification

public Specification(String name,
                     SpecificationVersion version,
                     Profile[] profiles)
Creates new SDK Specification

Parameters:
name - of the specification e.g J2SE
version - of the specification e.g. 1.4
profiles - of the Java SDK
Method Detail

getName

public final String getName()
Returns the name of the Java specification e.g. J2SE

Returns:
String

getVersion

public final SpecificationVersion getVersion()
Returns the version of the Java specification e.g 1.4

Returns:
instance of SpecificationVersion

getProfiles

public final Profile[] getProfiles()
Returns profiles supported by the Java SDK

Returns:
Profile[]

hashCode

public int hashCode()

equals

public boolean equals(Object other)

toString

public String toString()

 

Built on May 4 2005.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.