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