|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjfun.yan.util.resource.ResourceLoaders
public class ResourceLoaders
Facade class providing some useful ResourceLoader implementations.
| Constructor Summary | |
|---|---|
ResourceLoaders()
|
|
| Method Summary | |
|---|---|
static ResourceLoader |
or(java.lang.ClassLoader primary,
ResourceLoader alt)
Create a ResourceLoader that loads resource using a primary ClassLoader object, and tries an alternative ResourceLoader if the primary doesn't find a resource. |
static ResourceLoader |
or(ResourceLoader primary,
java.lang.ClassLoader alt)
Create a ResourceLoader that loads resource using a primary ResourceLoader object, and tries an alternative ClassLoader if the primary doesn't find a resource. |
static ResourceLoader |
or(ResourceLoader primary,
ResourceLoader alt)
Create a ResourceLoader that loads resource using a primary ResourceLoader object, and tries an alternative ResourceLoader if the primary doesn't find a resource. |
static ResourceLoader |
toResourceLoader(java.lang.ClassLoader cloader)
Adapt a ClassLoader to ResourceLoader. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceLoaders()
| Method Detail |
|---|
public static ResourceLoader toResourceLoader(java.lang.ClassLoader cloader)
cloader - the ClassLoader object.
public static ResourceLoader or(ResourceLoader primary,
ResourceLoader alt)
primary - the primary ResourceLoader.alt - the alternative ResourceLoader.
public static ResourceLoader or(java.lang.ClassLoader primary,
ResourceLoader alt)
primary - the primary ClassLoader.alt - the alternative ResourceLoader.
public static ResourceLoader or(ResourceLoader primary,
java.lang.ClassLoader alt)
primary - the primary ResourceLoader.alt - the alternative ClassLoader.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||