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

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

 

org.netbeans.api.java.platform
Class Profile

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

public class Profile
extends Object

Represents profile installed in the Java SDK


Constructor Summary
Profile(String name, SpecificationVersion version)
          Creates new Profile
 
Method Summary
 boolean equals(Object other)
           
 String getName()
          Returns the name of the profile
 SpecificationVersion getVersion()
          Returns the version of the profile
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Profile

public Profile(String name,
               SpecificationVersion version)
Creates new Profile

Parameters:
name - of the profile, e.g. MIDP
version - of the profile, e.g. 1.0
Method Detail

getName

public final String getName()
Returns the name of the profile

Returns:
String

getVersion

public final SpecificationVersion getVersion()
Returns the version of the profile

Returns:
String

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.