T
- the type of the class that should be returned from the conversion.ByteSizeConverter
, DurationConverter
public interface Converter<T>
Modifier and Type | Method | Description |
---|---|---|
T |
convert(Method method,
String input) |
Converts the given input into an Object of type T.
|
T convert(Method method, String input)
method
- the method invoked on the Config
object
input
- the property value specified as input text to be converted to the T return typeCopyright © 2012–2020 Luigi R. Viggiano. All rights reserved.