T
- the result/target type of the converter.public interface PropertyConverter<T>
Modifier and Type | Method and Description |
---|---|
T |
convert(String value)
Convert the given configuration keys from it's String representation into the required target type.
|
T convert(String value)
value
- the configuration value, not null.null
if the value could not be converted. Returning a non-null
value will stop the conversion process and return the value as result (converted value).Copyright © 2014–2015 Apache Software Foundation. All rights reserved.