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
URL s, considerubg
the given classloader for classloader dependent format. |
Collection<URL> |
getResources(ClassLoader classLoader,
String... expressions)
Resolves resource expressions to a list of
URL s, considerubg
the given classloader for classloader dependent format. |
Collection<URL> |
getResources(Collection<String> expressions)
Resolves resource expressions to a list of
URL s. |
Collection<URL> |
getResources(String... expressions)
Resolves resource expressions to a list of
URL s. |
public Collection<URL> getResources(Collection<String> expressions)
URL
s. 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 ResourceResolver
expressions
- the expressions to be resolved, not empty.URL
s found, never
null.
.public Collection<URL> getResources(String... expressions)
URL
s. 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 ResourceResolver
expressions
- the expressions to be resolved, not empty.URL
s found, never
null.
.public Collection<URL> getResources(ClassLoader classLoader, String... expressions)
URL
s, 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 ResourceResolver
expressions
- the expressions to be resolved, not empty.classLoader
- classloader to use for resolving.URL
s found, never
null.
.public abstract Collection<URL> getResources(ClassLoader classLoader, Collection<String> expressions)
URL
s, 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 ResourceResolver
expressions
- the expressions to be resolved, not empty.classLoader
- classloader to use for resolving.URL
s found, never
null.
.Copyright © 2014–2016 Apache Software Foundation. All rights reserved.