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