public class ResourceLoaderImpl extends Object implements ResourceLoader
| Constructor and Description |
|---|
ResourceLoaderImpl(ResourceSet resourceSet,
String... resolutionPaths) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getProperties(String profile,
Locale locale,
String extension)
Collects properties from class hierarchy.
|
Map<String,Object> |
getProperties(String profile,
Locale locale,
String extension,
ClassLoader classLoader)
Collects properties from class hierarchy.
|
Map<String,Object> |
getProperties(String profile,
String extension)
Collects properties from class hierarchy.
|
URL |
getResource(String scriptName,
Locale locale,
String extension) |
URL |
getResource(String scriptName,
String extension) |
InputStream |
getResourceStream(String scriptName,
Locale locale,
String extension) |
InputStream |
getResourceStream(String scriptName,
String extension) |
public ResourceLoaderImpl(ResourceSet resourceSet, String... resolutionPaths)
public InputStream getResourceStream(String scriptName, String extension)
getResourceStream in interface ResourceLoaderprofile - Profile, can be nullextension - Extension, can be nullpublic URL getResource(String scriptName, String extension)
getResource in interface ResourceLoaderpublic InputStream getResourceStream(String scriptName, Locale locale, String extension)
getResourceStream in interface ResourceLoaderscriptName - extension - public URL getResource(String scriptName, Locale locale, String extension)
getResource in interface ResourceLoaderscriptName - extension - public Map<String,Object> getProperties(String profile, String extension)
getProperties in interface ResourceLoaderprofile - Profile, can be nullextension - Extension, can be nullpublic Map<String,Object> getProperties(String profile, Locale locale, String extension)
getProperties in interface ResourceLoaderprofile - extension - public Map<String,Object> getProperties(String profile, Locale locale, String extension, ClassLoader classLoader)
attempts(java.lang.Integer)=33. If property is defined with type then string value of the property is converted to the
target type. If not, property type is String.profile - extension -