@Plugin(name="Class", category="TypeConverter") public static class TypeConverters.ClassConverter extends Object implements TypeConverter<Class<?>>
Constructor and Description |
---|
ClassConverter() |
Modifier and Type | Method and Description |
---|---|
Class<?> |
convert(String s)
Converts a String to a given type.
|
public ClassConverter()
public Class<?> convert(String s) throws ClassNotFoundException
TypeConverter
convert
in interface TypeConverter<Class<?>>
s
- the String to convert. Cannot be null
.ClassNotFoundException
Copyright © 1999-2021 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.