| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| 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. |
| private static String | |
| public String | getLibrary(final String
the name name)Implements org. |
| protected static PackageSpec | Returns: the package specificationthe (dot-separated) package name name, final Manifest the manifest, final URL Manifest instancethe code source URL rootUrl)Convenience method to get a package specification from a |
| 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. |
| AbstractResourceLoader | back to summary |
|---|---|
| protected AbstractResourceLoader() Construct a new instance. | |
| 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,
| |
| getDefinedAttribute | back to summary |
|---|---|
| private static String getDefinedAttribute(Attributes. | |
| 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 " | |
| getPackageSpec | back to summary |
|---|---|
| protected static PackageSpec getPackageSpec(final String name, final Manifest manifest, final URL rootUrl) Convenience method to get a package specification from a
| |
| 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. Get the name of the root represented by this resource loader.
| |