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