public class ConfigurationPropertiesImpl extends ConfigurationProperties
| Constructor and Description |
|---|
ConfigurationPropertiesImpl(InputStream stream,
Map<String,String> preemptiveProperties,
Map<String,String> buildProperties) |
| Modifier and Type | Method and Description |
|---|---|
String |
getProperty(String key)
Get the value of the property, or
null if the property has
not been assigned a value. |
String |
getProperty(String key,
String defaultValue)
Get the value of the property, or use the default value if the property
has not been assigned a value.
|
Map<String,String> |
getPropertyMap()
Get a copy of the map of the configuration properties and their settings.
|
String |
toString() |
public ConfigurationPropertiesImpl(InputStream stream, Map<String,String> preemptiveProperties, Map<String,String> buildProperties) throws IOException
IOExceptionpublic String getProperty(String key)
ConfigurationPropertiesnull if the property has
not been assigned a value.getProperty in class ConfigurationPropertiespublic String getProperty(String key, String defaultValue)
ConfigurationPropertiesgetProperty in class ConfigurationPropertiespublic Map<String,String> getPropertyMap()
ConfigurationPropertiesgetPropertyMap in class ConfigurationPropertiesCopyright © 2016. All rights reserved.