T
- the (minimum) type of the target valuepublic interface PropertyConverter<T>
Modifier and Type | Method and Description |
---|---|
T |
convert(Class<? extends T> targetType,
String value)
Converts a value from import file to Java.
|
static <T> PropertyConverter<T> |
of(Function<String,T> converter)
Converts a function to a PropertyConverter.
|
static <T> PropertyConverter<T> of(Function<String,T> converter)
converter
- the converter that needs no information of the target typePropertyConverter
Copyright © 2022 fastnate.org. All rights reserved.