public abstract class BaseResourceResolver extends Object implements ResourceResolver
classpath:javax/annotations/*
javax?/annotations/**/*.class
org/apache/tamaya/**/tamayaconfig.properties
file:C:/temp/*.txt
file:C:\**\*.ini
C:\Programs\**/*.ini
/user/home/A*b101_?.pid
/var/logs/**/*.log
| Constructor and Description |
|---|
BaseResourceResolver() |
| Modifier and Type | Method and Description |
|---|---|
abstract Collection<URL> |
getResources(ClassLoader classLoader,
Collection<String> expressions)
Resolves resource expressions to a list of
URLs, considerubg
the given classloader for classloader dependent format. |
Collection<URL> |
getResources(ClassLoader classLoader,
String... expressions)
Resolves resource expressions to a list of
URLs, considerubg
the given classloader for classloader dependent format. |
Collection<URL> |
getResources(Collection<String> expressions)
Resolves resource expressions to a list of
URLs. |
Collection<URL> |
getResources(String... expressions)
Resolves resource expressions to a list of
URLs. |
public Collection<URL> getResources(Collection<String> expressions)
URLs. Hereby
the ordering of format matches the input of the resolved expressions. Nevertheless be aware that
there is no determined ordering of format located within a classloader.getResources in interface ResourceResolverexpressions - the expressions to be resolved, not empty.URLs found, never
null.
.public Collection<URL> getResources(String... expressions)
URLs. Hereby
the ordering of format matches the input of the resolved expressions. Nevertheless be aware that
there is no determined ordering of format located within a classloader.getResources in interface ResourceResolverexpressions - the expressions to be resolved, not empty.URLs found, never
null.
.public Collection<URL> getResources(ClassLoader classLoader, String... expressions)
URLs, considerubg
the given classloader for classloader dependent format. Hereby
the ordering of format matches the input of the resolved expressions. Nevertheless be aware that
there is no determined ordering of format located within a classloader.getResources in interface ResourceResolverexpressions - the expressions to be resolved, not empty.classLoader - classloader to use for resolving.URLs found, never
null.
.public abstract Collection<URL> getResources(ClassLoader classLoader, Collection<String> expressions)
URLs, considerubg
the given classloader for classloader dependent format. Hereby
the ordering of format matches the input of the resolved expressions. Nevertheless be aware that
there is no determined ordering of format located within a classloader.getResources in interface ResourceResolverexpressions - the expressions to be resolved, not empty.classLoader - classloader to use for resolving.URLs found, never
null.
.Copyright © 2014–2016 Apache Software Foundation. All rights reserved.