org.netbeans.spi.project.libraries
Interface LibraryImplementation2
- All Superinterfaces:
- LibraryImplementation
public interface LibraryImplementation2
- extends LibraryImplementation
Library enhancement allowing setting/getting library content as URI list.
Useful for example for storing relative library entries.
- Since:
- org.netbeans.modules.project.libraries/1 1.18
Methods inherited from interface org.netbeans.spi.project.libraries.LibraryImplementation |
addPropertyChangeListener, getContent, getDescription, getLocalizingBundle, getName, getType, removePropertyChangeListener, setContent, setDescription, setLocalizingBundle, setName |
getURIContent
List<URI> getURIContent(String volumeType)
throws IllegalArgumentException
- 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.
- Returns:
- list of resource URIs (never null)
- Throws:
IllegalArgumentException
- if the library does not support given type of volume
setURIContent
void setURIContent(String volumeType,
List<URI> path)
throws IllegalArgumentException
- Sets content of given volume
- Parameters:
volumeType
- the type of volume for which the content should be setpath
- the list of resource URIs
- Throws:
IllegalArgumentException
- if the library does not support given volumeType