Class StringToObjectConverter


  • @Deprecated(since="2022-01-27")
    public class StringToObjectConverter
    extends java.lang.Object
    Deprecated.
    This internal logback API is not supported by AEM as a Cloud Service.
    Utility class which can convert string into objects.
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static boolean canBeBuiltFromSimpleString​(java.lang.Class<?> parameterClass)
      Deprecated.
       
      static java.lang.Object convertArg​(ContextAware ca, java.lang.String val, java.lang.Class<?> type)
      Deprecated.
      Convert val a String parameter to an object of a given type.
      static java.lang.reflect.Method getValueOfMethod​(java.lang.Class<?> type)
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StringToObjectConverter

        public StringToObjectConverter()
        Deprecated.
    • Method Detail

      • canBeBuiltFromSimpleString

        public static boolean canBeBuiltFromSimpleString​(java.lang.Class<?> parameterClass)
        Deprecated.
      • convertArg

        public static java.lang.Object convertArg​(ContextAware ca,
                                                  java.lang.String val,
                                                  java.lang.Class<?> type)
        Deprecated.
        Convert val a String parameter to an object of a given type.
      • getValueOfMethod

        public static java.lang.reflect.Method getValueOfMethod​(java.lang.Class<?> type)
        Deprecated.