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