public class PropertiesPropertySourceLoader extends Object implements PropertySourceLoader
PropertySource.| Constructor and Description |
|---|
PropertiesPropertySourceLoader() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.core.env.PropertySource<?> |
load(org.springframework.core.io.Resource resource)
Load the resource into a property source.
|
protected Properties |
loadProperties(org.springframework.core.io.Resource resource) |
boolean |
supports(org.springframework.core.io.Resource resource)
Returns
true if the Resource is supported. |
public boolean supports(org.springframework.core.io.Resource resource)
PropertySourceLoadertrue if the Resource is supported.supports in interface PropertySourceLoaderpublic org.springframework.core.env.PropertySource<?> load(org.springframework.core.io.Resource resource)
PropertySourceLoaderload in interface PropertySourceLoaderprotected Properties loadProperties(org.springframework.core.io.Resource resource) throws IOException
IOExceptionCopyright © 2013. All rights reserved.