public final class UserLibraries
extends java.lang.Object
Constructor and Description |
---|
UserLibraries()
Initialises this data structure used to collect the content of an eclipse
user library configuration file.
|
Modifier and Type | Method and Description |
---|---|
void |
addLibrary(UserLibrary userlibrary)
Adds the supplied user library entry to this collecting data structure.
|
java.lang.String[] |
getAvailableLibraries()
Returns a list with the names of the available libraries.
|
UserLibrary |
getLibrary(java.lang.String name)
Returns a user library entry associated with the supplied name.
|
boolean |
hasLibrary(java.lang.String name)
Returns true if there's a specific library entry available.
|
public UserLibraries()
public void addLibrary(UserLibrary userlibrary)
userlibrary
- The user library entry which shall be added.public boolean hasLibrary(java.lang.String name)
name
- The name of the desired library.public UserLibrary getLibrary(java.lang.String name)
name
- The name used to access this user library.public java.lang.String[] getAvailableLibraries()