| Package | Description |
|---|---|
| org.springframework.core.io.support |
Support classes for Spring's resource abstraction.
|
| Modifier and Type | Method and Description |
|---|---|
PropertySource<?> |
DefaultPropertySourceFactory.createPropertySource(java.lang.String name,
EncodedResource resource) |
PropertySource<?> |
PropertySourceFactory.createPropertySource(java.lang.String name,
EncodedResource resource)
Create a
PropertySource that wraps the given resource. |
static void |
PropertiesLoaderUtils.fillProperties(java.util.Properties props,
EncodedResource resource)
Fill the given properties from the given EncodedResource,
potentially defining a specific encoding for the properties file.
|
static java.util.Properties |
PropertiesLoaderUtils.loadProperties(EncodedResource resource)
Load properties from the given EncodedResource,
potentially defining a specific encoding for the properties file.
|
| Constructor and Description |
|---|
ResourcePropertySource(EncodedResource resource)
Create a PropertySource based on Properties loaded from the given resource.
|
ResourcePropertySource(java.lang.String name,
EncodedResource resource)
Create a PropertySource having the given name based on Properties
loaded from the given encoded resource.
|