| org.netbeans.spi.project.libraries.LibraryImplementation
All known Subclasses: org.netbeans.modules.project.libraries.DefaultLibraryImplementation, org.netbeans.modules.project.libraries.ui.ProxyLibraryImplementation,
addPropertyChangeListener | void addPropertyChangeListener(PropertyChangeListener l)(Code) | | Adds PropertyChangeListener
Parameters: l - - the PropertyChangeListener |
getContent | List<URL> getContent(String volumeType) throws IllegalArgumentException(Code) | | Returns List of resources contained in the given volume.
The returned list is unmodifiable. To change the content of
the given volume use setContent method.
Parameters: volumeType - the type of volume for which the content should be returned. list of resource URLs (never null) throws: IllegalArgumentException - if the library does not support given type of volume |
getDescription | String getDescription()(Code) | | Get a description of the library.
The description provides more detailed information about the library.
String the description or null if the description is not available |
getLocalizingBundle | String getLocalizingBundle()(Code) | | Returns the resource name of the bundle which is used for localizing
the name and description. The bundle is located using the system ClassLoader.
String, the resource name of the bundle. If null in case when thename and description is not localized. |
getName | String getName()(Code) | | Returns name of the library
String unique name of the library, never returns null. |
getType | String getType()(Code) | | Returns type of library, the LibraryTypeProvider creates libraries
of given unique type.
String unique identifier, never returns null. |
removePropertyChangeListener | void removePropertyChangeListener(PropertyChangeListener l)(Code) | | Removes PropertyChangeListener
Parameters: l - - - the PropertyChangeListener |
setContent | void setContent(String volumeType, List<URL> path) throws IllegalArgumentException(Code) | | Sets content of given volume
Parameters: volumeType - the type of volume for which the content should be set Parameters: path - the list of resource URLs throws: IllegalArgumentException - if the library does not support given volumeType |
setDescription | void setDescription(String text)(Code) | | Sets the description of the library, called by LibrariesStorage while reading the library
The description is more detailed information about the library.
Parameters: text - - the description of the library, may be null. |
setLocalizingBundle | void setLocalizingBundle(String resourceName)(Code) | | Sets the localizing bundle. The bundle is used for localizing the name and description.
The bundle is located using the system ClassLoader.
Called by LibrariesStorage while reading the library.
Parameters: resourceName - of the bundle without extension, may be null. |
setName | void setName(String name)(Code) | | Sets the name of the library, called by LibrariesStorage while reading the library
Parameters: name - - the unique name of the library, can't be null. |
|
|