public class ConfigurationUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static <TProperty> |
convert(java.lang.String value,
java.lang.Class<TProperty> clazz)
Convert the specified string value to the property type.
|
public static <TProperty> TProperty convert(java.lang.String value,
java.lang.Class<TProperty> clazz)
throws ConfigurationException
TProperty - the type of the propertyvalue - the string valueclazz - the class of the property (must not be null)ConfigurationException - when unable to convert the stringCopyright © 1998-2018 Apache Software Foundation. All Rights Reserved.