- All Superinterfaces:
BiFunction<String,String, Converter<?>>
Creates a
Converter given a type and style.
The factory is allowed to return an already existing converter.
- Author:
- Werner Randelshofer
-
Method Summary
Methods inherited from interface java.util.function.BiFunction
andThen
-
Method Details
-
apply
Returns aConvertergiven a type and a style.- Specified by:
applyin interfaceBiFunction<String,String, Converter<?>> - Parameters:
type- the type, may be nullstyle- the style, may be null- Returns:
- the converter
- Throws:
IllegalArgumentException- if the type or the style are invalid
-