|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.composition.data.LibraryDirective
An library directive.
XML
An library element is normally contained within a scoping structure such as a classloader directive. The library element may contain any number of "include" or "group" elements.
<library> <include>lib</include> <group>avalon-framework</group> </library>
Constructor Summary | |
LibraryDirective()
Create a new LibraryDirective instance. |
|
LibraryDirective(String[] includes,
String[] groups)
Create a new LibraryDirective instance. |
Method Summary | |
String[] |
getGroups()
Return the set of group identifiers. |
String[] |
getIncludes()
Return the set of include path entries. |
File[] |
getOptionalExtensionDirectories(File base)
Return the set of optional extension locations as a File[] relative to a supplied base directory. |
boolean |
isEmpty()
Return the empty status of this directive. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LibraryDirective()
public LibraryDirective(String[] includes, String[] groups)
includes
- the set of include pathsgroups
- the set of group identifiersMethod Detail |
public boolean isEmpty()
public String[] getIncludes()
public String[] getGroups()
public File[] getOptionalExtensionDirectories(File base) throws IOException
base
- a base directory against which relatve references shall be resolved
IOException
- if a path cannot be resolved to a directory
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |