| |
|
| java.lang.Object org.netbeans.api.project.libraries.Library
Library | final public class Library (Code) | | 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.
author: Petr Kuzel, Tomas Zezula |
PROP_DESCRIPTION | final public static String PROP_DESCRIPTION(Code) | | |
addPropertyChangeListener | public synchronized void addPropertyChangeListener(PropertyChangeListener listener)(Code) | | Adds PropertyChangeListener
Parameters: listener - |
getContent | public List<URL> getContent(String volumeType)(Code) | | Access typed library data. Any relative URL provided by SPI is made absolute
before being passed to client. See
Library.getRawContent if you need raw library data.
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.
Parameters: volumeType - which resources to return. path of URLs of given type (possibly empty but never null ) |
getDescription | public String getDescription()(Code) | | Returns description of the library.
The description provides more detailed information about the library.
String the description or null if the description is not available |
getDisplayName | public String getDisplayName()(Code) | | Returns the display name of the library.
The display name is either equal to the name or
is a localized version of the name.
String the display name, never returns null. |
getManager | public LibraryManager getManager()(Code) | | Gets the associated library manager.
the manager (may be the "default" global manager, or a local manager) since: org.netbeans.modules.project.libraries/1 1.15 |
getName | public String getName()(Code) | | Get library binding name. The name identifies library
in scope of one libraries storage.
String with library name |
getRawContent | public List<URL> getRawContent(String volumeType)(Code) | | Access typed but raw library data.
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.
Parameters: volumeType - which resources to return. path of URLs of given type (possibly empty but never null ) |
getType | public String getType()(Code) | | Gets the type of library. The library type identifies
the provider which has created the library and implies
the volues contained in it.
String (e.g. j2se for J2SE library) |
hashCode | public int hashCode()(Code) | | |
removePropertyChangeListener | public synchronized void removePropertyChangeListener(PropertyChangeListener listener)(Code) | | Removes PropertyChangeListener
Parameters: listener - |
|
|
|