Class ObjectReader


  • public class ObjectReader
    extends Object
    • Constructor Detail

      • ObjectReader

        public ObjectReader()
    • Method Detail

      • getStrings

        public static List<String> getStrings​(Object o)
        Convert the input into a list of string; ignore null members.
        Parameters:
        o - the input object
        Returns:
        a list of string
      • getLong

        public static Long getLong​(Object o)
      • getLong

        public static Long getLong​(Object o,
                                   Long defaultValue)
      • getBoolean

        public static boolean getBoolean​(Object o,
                                         boolean defaultValue)