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