Class RecyclerFactoryConverter
- java.lang.Object
-
- org.apache.logging.log4j.layout.template.json.util.RecyclerFactoryConverter
-
- All Implemented Interfaces:
TypeConverter<RecyclerFactory>
@Plugin(name="RecyclerFactoryConverter", category="TypeConverter") public final class RecyclerFactoryConverter extends Object implements TypeConverter<RecyclerFactory>
The default string (i.e., recycler factory spec) toRecyclerFactory
type converter.
-
-
Constructor Summary
Constructors Constructor Description RecyclerFactoryConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RecyclerFactory
convert(String recyclerFactorySpec)
Converts a String to a given type.
-
-
-
Method Detail
-
convert
public RecyclerFactory convert(String recyclerFactorySpec)
Description copied from interface:TypeConverter
Converts a String to a given type.- Specified by:
convert
in interfaceTypeConverter<RecyclerFactory>
- Parameters:
recyclerFactorySpec
- the String to convert. Cannot benull
.- Returns:
- the converted object.
-
-