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)
PropertySourceLoader
true
if the Resource
is supported.supports
in interface PropertySourceLoader
public org.springframework.core.env.PropertySource<?> load(org.springframework.core.io.Resource resource)
PropertySourceLoader
load
in interface PropertySourceLoader
protected Properties loadProperties(org.springframework.core.io.Resource resource) throws IOException
IOException
Copyright © 2013. All rights reserved.