Class TypeConverters.LongConverter
- java.lang.Object
-
- org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.LongConverter
-
- All Implemented Interfaces:
TypeConverter<Long>
- Enclosing class:
- TypeConverters
@Plugin(name="Long", category="TypeConverter") public static class TypeConverters.LongConverter extends Object implements TypeConverter<Long>
-
-
Constructor Summary
Constructors Constructor Description LongConverter()
-
-
-
Method Detail
-
convert
public Long convert(String s)
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.
-
-