| Modifier and Type | Field and Description |
|---|---|
| private final PathFilter | |
| private final IterableResourceLoader |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Overrides default org. |
| public ClassSpec | getClassSpec(final String
the fileName of the class, e.g. for the class fileName)org.jboss.modules.ResourceLoader
the fileName will be org/jboss/modules/ResourceLoader.classImplements org. |
| public String | getLibrary(final String
the name name)Implements org. |
| public URI | getLocation()
Overrides default org. |
| public PackageSpec | getPackageSpec(final String
the directory name name)Implements org. |
| public Collection | getPaths()
Implements org. |
| public Resource | getResource(final String
the resource name name)Implements org. |
| public String | getRootName()
Overrides default org.
Deprecated
Get the name of the root represented by this resource loader.
|
| public Iterator | iterateResources(final String
the path to search under startPath, final boolean true to recursively descend into subdirectories, false to only read this pathImplements org. |
| filter | back to summary |
|---|---|
| private final PathFilter filter | |
| loader | back to summary |
|---|---|
| private final IterableResourceLoader loader | |
| FilteredIterableResourceLoader | back to summary |
|---|---|
| pack-priv FilteredIterableResourceLoader(final PathFilter filter, final IterableResourceLoader loader) | |
| close | back to summary |
|---|---|
| public void close() Overrides default org. Doc from org. Closes this resource, relinquishing any underlying resources.
This method is invoked automatically on objects managed by the
| |
| getClassSpec | back to summary |
|---|---|
| public ClassSpec getClassSpec(final String fileName) throws IOException Implements org. Doc from org. Get the class specification for the given class name. If no matching class is found,
| |
| getLibrary | back to summary |
|---|---|
| public String getLibrary(final String name) Implements org. Doc from org. Get the absolute physical filesystem path for a library with the given name. The resultant path should be
path-separated using " | |
| getLocation | back to summary |
|---|---|
| public URI getLocation() Overrides default org. Doc from org. Get the base location of the resources in this loader (if any). If the location is not known, or the resource
loader does not support locations, or the resource loader does not support this method,
| |
| getPackageSpec | back to summary |
|---|---|
| public PackageSpec getPackageSpec(final String name) throws IOException Implements org. Doc from org. Get the package specification for the given directory name. Always returns a package specification; this
method cannot be used to test for the existence of a package. A package spec should always be acquired from
the same resource loader which provided the class specification. The directory name will always be specified
using "
| |
| getPaths | back to summary |
|---|---|
| public Collection Implements org. Doc from org. Get the collection of resource paths. Called one time only when the resource loader is initialized. The
paths should use "
| |
| getResource | back to summary |
|---|---|
| public Resource getResource(final String name) Implements org. Doc from org. Get a resource with the given name. If no such resource is available, | |
| getRootName | back to summary |
|---|---|
| public String getRootName() Overrides default org. Doc from org. Deprecated
Get the name of the root represented by this resource loader.
| |
| iterateResources | back to summary |
|---|---|
| public Iterator Implements org. Doc from org. Enumerate all the resources under the given path. The given path name is relative to the root
of the resource loader. If the path "escapes" the root via | |