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

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

org.netbeans.modules.java.platform/1 1.7.22

org.netbeans.api.java.platform
Class Profile

java.lang.Object
  extended by org.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()
Overrides:
hashCode in class Object

equals

public boolean equals(Object other)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

org.netbeans.modules.java.platform/1 1.7.22

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