Class TypeConverters.UuidConverter
java.lang.Object
org.apache.logging.log4j.core.config.plugins.convert.TypeConverters.UuidConverter
- All Implemented Interfaces:
TypeConverter<UUID>
- Enclosing class:
- TypeConverters
@Plugin(name="UUID",
category="TypeConverter")
public static class TypeConverters.UuidConverter
extends Object
implements TypeConverter<UUID>
- Since:
- 2.8
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
UuidConverter
public UuidConverter()
-
-
Method Details
-
convert
Description copied from interface:TypeConverter
Converts a String to a given type.- Specified by:
convert
in interfaceTypeConverter<UUID>
- Parameters:
s
- the String to convert. Cannot benull
.- Returns:
- the converted object.
- Throws:
Exception
- thrown when a conversion error occurs
-