Package org.apache.storm.utils
Class ObjectReader
- java.lang.Object
-
- org.apache.storm.utils.ObjectReader
-
public class ObjectReader extends Object
-
-
Constructor Summary
Constructors Constructor Description ObjectReader()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleangetBoolean(Object o, boolean defaultValue)static DoublegetDouble(Object o)static DoublegetDouble(Object o, Double defaultValue)static IntegergetInt(Object o)static IntegergetInt(Object o, Integer defaultValue)static LonggetLong(Object o)static LonggetLong(Object o, Long defaultValue)static StringgetString(Object o)static StringgetString(Object o, String defaultValue)static List<String>getStrings(Object o)Convert the input into a list of string; ignore null members.
-