|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.weld.extensions.resourceLoader.DelegatingResourceLoader
@Deprecated public class DelegatingResourceLoader
Resource loader that delegates to a static list of resource loaders.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.jboss.weld.extensions.util.Sortable |
|---|
Sortable.Comparator |
| Constructor Summary | |
|---|---|
DelegatingResourceLoader()
Deprecated. |
|
| Method Summary | |
|---|---|
static void |
addResourceLoader(ResourceLoader loader)
Deprecated. |
int |
getPrecedence()
Deprecated. An integer precedence value that indicates how favorable the implementation considers itself amongst alternatives. |
URL |
getResource(String name)
Deprecated. Get the URL for a resource. |
InputStream |
getResourceAsStream(String name)
Deprecated. Get the InputStream for a resource. |
Set<URL> |
getResources(String name)
Deprecated. Get the URLs known to all resource loaders for a given name. |
Collection<InputStream> |
getResourcesAsStream(String name)
Deprecated. Get the input streams known to all resource loaders for a given name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DelegatingResourceLoader()
| Method Detail |
|---|
public static void addResourceLoader(ResourceLoader loader)
public URL getResource(String name)
ResourceLoader
Get the URL for a resource.
The resource loaders are searched in precedence order, stopping when a resource is found.
getResource in interface ResourceLoadername - the resource to get the URL for
URL, or null if the resource does not existpublic InputStream getResourceAsStream(String name)
ResourceLoader
Get the InputStream for a resource.
The resource loaders are searched in precedence order, stopping when a resource is found.
getResourceAsStream in interface ResourceLoadername - the resource to get the InputStream for
InputStream, or null if the resource does not existpublic Set<URL> getResources(String name)
ResourceLoaderGet the URLs known to all resource loaders for a given name.
getResources in interface ResourceLoadername - the resource to get the URLs for
public Collection<InputStream> getResourcesAsStream(String name)
ResourceLoaderGet the input streams known to all resource loaders for a given name.
getResourcesAsStream in interface ResourceLoadername - name the resource to get the input streams for
public int getPrecedence()
Sortable
getPrecedence in interface Sortable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||