public class ConfigurationProperties extends Object
Constructor and Description |
---|
ConfigurationProperties(Map<String,String> props)
A constructor defined in order to conform to the type used by
Configuration . |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getPropertiesWithPrefix(String prefix)
Filters all properties by a prefix.
|
Map<String,String> |
getPropertiesWithPrefix(String prefix,
boolean fullyQualifiedKey)
Filters all properties by a prefix.
|
public Map<String,String> getPropertiesWithPrefix(String prefix)
prefix
- prefix to filter property keyspublic Map<String,String> getPropertiesWithPrefix(String prefix, boolean fullyQualifiedKey)
prefix
- prefix to filter property keysfullyQualifiedKey
- whether collected property keys are to be trimmed
by the prefix, or must be kept as it isCopyright © 2008–2024 Apache Software Foundation. All rights reserved.