@Deprecated public class DelegatingResourceLoader extends Object implements ResourceLoader
Sortable.Comparator| Constructor and Description |
|---|
DelegatingResourceLoader()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
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 forURL, 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 forInputStream, 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 forpublic 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 forpublic int getPrecedence()
SortablegetPrecedence in interface SortableCopyright © 2008-2013 Seam Framework. All Rights Reserved.