java.lang.Object
ch.qos.logback.core.joran.util.StringToObjectConverter
Utility class which can convert string into objects.
- Author:
- Ceki Gülcü
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
canBeBuiltFromSimpleString
(Class<?> parameterClass) static Object
convertArg
(ContextAware ca, String val, Class<?> type) Convertval
a String parameter to an object of a given type.static boolean
followsTheValueOfConvention
(Class<?> parameterClass) static Method
getValueOfMethod
(Class<?> type)
-
Constructor Details
-
StringToObjectConverter
public StringToObjectConverter()
-
-
Method Details
-
canBeBuiltFromSimpleString
-
convertArg
Convertval
a String parameter to an object of a given type. -
getValueOfMethod
-
followsTheValueOfConvention
-