public class SubConfiguration extends Object
Constructor and Description |
---|
SubConfiguration() |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getProperties()
Gets the properties of the item.
|
<TProperty> |
getProperty(String key,
TProperty defaultValue,
Class<TProperty> clazz)
Gets the value of the specified property.
|
public final Map<String,String> getProperties()
public final <TProperty> TProperty getProperty(String key, TProperty defaultValue, Class<TProperty> clazz) throws ConfigurationException
TProperty
- the type of the propertykey
- the key identifier of the propertydefaultValue
- the default value of the propertyclazz
- the class of the propertyConfigurationException
- if cannot convert propertyCopyright © 1998-2019 Apache Software Foundation. All Rights Reserved.