T - the type of the type literalpublic interface PropertyConverter<T>
| Modifier and Type | Method and Description |
|---|---|
T |
convert(String value,
ConversionContext context)
Convert the given configuration keys from its String representation into the required target type.
|
T convert(String value, ConversionContext context)
value - configuration key that needs to be convertedcontext - the ConversionContext, containing the String value and the requested configuration key.ConversionContext.addSupportedFormats(Class, String...)Copyright © 2014–2016 Apache Software Foundation. All rights reserved.