public interface 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
Modifier and Type | Method and Description |
---|---|
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. |
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.expressions
- the expressions to be resolved, not empty.URL
s found, never
null.
.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.expressions
- the expressions to be resolved, not empty.URL
s found, never
null.
.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.classLoader
- classloader to use for resolving.expressions
- the expressions to be resolved, not empty.URL
s found, never null
.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.classLoader
- classloader to use for resolving.expressions
- the expressions to be resolved, not empty.URL
s found,
never null
.Copyright © 2014–2016 Apache Software Foundation. All rights reserved.