Package com.impossibl.postgres.system
Interface Setting.Converter<U>
-
- Type Parameters:
U- Destination type of conversion
public static interface Setting.Converter<U>String toSetting.Converterconverter functional interface. A simple interface translate string values to a target type while allowing exception to be thrown.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description Uconvert(java.lang.String string)static Setting.Converter<java.lang.String>identity()
-
-
-
Method Detail
-
convert
U convert(java.lang.String string) throws java.lang.Exception
- Throws:
java.lang.Exception
-
identity
static Setting.Converter<java.lang.String> identity()
-
-