public class PropertiesResourcePropertySource extends MapPropertySource
| Constructor and Description |
|---|
PropertiesResourcePropertySource(String path,
String prefix)
Creates a new instance.
|
PropertiesResourcePropertySource(String path,
String prefix,
ClassLoader cl)
Creates a new instance.
|
PropertiesResourcePropertySource(URL url)
Creates a new instance.
|
PropertiesResourcePropertySource(URL url,
String prefix)
Creates a new instance.
|
getMap, getPropertiesget, getDefaultOrdinal, getName, getOrdinal, isScannable, setDefaultOrdinal, setName, setOrdinal, toString, toStringValuespublic PropertiesResourcePropertySource(URL url)
url - the resource URL, not null.public PropertiesResourcePropertySource(URL url, String prefix)
prefix - the (optional) prefix context for mapping (prefixing) the properties loaded.url - the resource URL, not null.public PropertiesResourcePropertySource(String path, String prefix)
prefix - the (optional) prefix context for mapping (prefixing) the properties loaded.path - the resource path, not null.public PropertiesResourcePropertySource(String path, String prefix, ClassLoader cl)
prefix - the (optional) prefix context for mapping (prefixing) the properties loaded.path - the resource path, not null.Copyright © 2016–2017 Apache Software Foundation. All rights reserved.