public class ConfigurationUtils extends Object
public static <TProperty> TProperty convert(String value, 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-2016 Apache Software Foundation. All Rights Reserved.