public class SubConfiguration
extends java.lang.Object
Constructor and Description |
---|
SubConfiguration() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
getProperties()
Gets the properties of the item.
|
<TProperty> |
getProperty(java.lang.String key,
TProperty defaultValue,
java.lang.Class<TProperty> clazz)
Gets the value of the specified property.
|
public final java.util.Map<java.lang.String,java.lang.String> getProperties()
public final <TProperty> TProperty getProperty(java.lang.String key, TProperty defaultValue, java.lang.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.