T - type of the values the property type handlespublic interface PropertyType<T>
| Modifier and Type | Method and Description |
|---|---|
T |
convert(Object object,
ConvertErrorRecorder errorRecorder)
Converts the given object (typically read from a property resource) to the given type, if possible.
|
Object |
toExportValue(T value)
Converts the given value to its export value.
|
@Nullable T convert(@Nullable Object object, ConvertErrorRecorder errorRecorder)
object - the object to converterrorRecorder - error recorder to register errors even if a valid value is returnedObject toExportValue(T value)
convert(java.lang.Object, ch.jalu.configme.properties.convertresult.ConvertErrorRecorder).)value - the value to convertCopyright © 2016–2021 The AuthMe Team. All rights reserved.