Class TypeConverters.FloatConverter
java.lang.Object
org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.FloatConverter
- All Implemented Interfaces:
TypeConverter<Float>
- Enclosing class:
- TypeConverters
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
FloatConverter
public FloatConverter()
-
-
Method Details
-
convert
Description copied from interface:TypeConverter
Converts a String to a given type.- Specified by:
convert
in interfaceTypeConverter<Float>
- Parameters:
s
- the String to convert. Cannot benull
.- Returns:
- the converted object.
-