|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.netbeans.api.project.libraries.Library
Library models typed bundle of typed volumes.
Library volumes are typed and query-able by their type. The type is represented by type string. Strictly speaking volumes are named rather then typed but the name express their type. The volume is a list of resoruces.
For more details see libraries overview.
Field Summary | |
static String |
PROP_CONTENT
|
static String |
PROP_DESCRIPTION
|
static String |
PROP_NAME
|
Method Summary | |
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds PropertyChangeListener |
boolean |
equals(Object obj)
|
List |
getContent(String volumeType)
Access typed but raw library data. |
String |
getDescription()
Returns description of the library. |
String |
getDisplayName()
Returns the display name of the library. |
String |
getName()
Get library binding name. |
String |
getType()
Gets the type of library. |
int |
hashCode()
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes PropertyChangeListener |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String PROP_NAME
public static final String PROP_DESCRIPTION
public static final String PROP_CONTENT
Method Detail |
public List getContent(String volumeType)
The contents are defined by SPI providers and identified by the volume types. For example the j2se library supports the following volume types: classpath - the library classpath roots, src - the library sources, javadoc - the library javadoc. Your module must have contract with a particular provider's module to be able to query it effectively.
volumeType
- which resources to return.
null
)public String getName()
public String getDescription()
public String getDisplayName()
public String getType()
public boolean equals(Object obj)
public int hashCode()
public void addPropertyChangeListener(PropertyChangeListener listener)
listener
- public void removePropertyChangeListener(PropertyChangeListener listener)
listener
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |