Class TypeConverters.BigDecimalConverter
java.lang.Object
org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.BigDecimalConverter
- All Implemented Interfaces:
TypeConverter<BigDecimal>
- Enclosing class:
- TypeConverters
@Plugin(name="BigDecimal",
category="TypeConverter")
public static class TypeConverters.BigDecimalConverter
extends Object
implements TypeConverter<BigDecimal>
Parses a
String
into a BigDecimal
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionConverts a String to a given type.
-
Constructor Details
-
BigDecimalConverter
public BigDecimalConverter()
-
-
Method Details
-
convert
Description copied from interface:TypeConverter
Converts a String to a given type.- Specified by:
convert
in interfaceTypeConverter<BigDecimal>
- Parameters:
s
- the String to convert. Cannot benull
.- Returns:
- the converted object.
-