|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.modules.ResourceLoaders
public final class ResourceLoaders
Static factory methods for various types of resource loaders.
| Method Summary | |
|---|---|
static ResourceLoader |
createFileResourceLoader(String name,
File root)
Create a filesystem-backed resource loader with support for native libraries. |
static ResourceLoader |
createFilteredResourceLoader(PathFilter pathFilter,
ResourceLoader originalLoader)
Create a filtered view of a resource loader, which allows classes to be included or excluded on a name basis. |
static ResourceLoader |
createJarResourceLoader(String name,
JarFile jarFile)
Create a JAR-backed resource loader. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ResourceLoader createFileResourceLoader(String name,
File root)
file: URL.
name - the name of the resource rootroot - the root file of the resource loader
public static ResourceLoader createJarResourceLoader(String name,
JarFile jarFile)
jar: URL; nested JARs are not supported.
name - the name of the resource rootjarFile - the backing JAR file
public static ResourceLoader createFilteredResourceLoader(PathFilter pathFilter,
ResourceLoader originalLoader)
pathFilter - the path filter to applyoriginalLoader - the original loader to apply to
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||