public class ObjectReader extends Object
Constructor and Description |
---|
ObjectReader() |
Modifier and Type | Method and Description |
---|---|
static boolean |
getBoolean(Object o,
boolean defaultValue) |
static Double |
getDouble(Object o) |
static Double |
getDouble(Object o,
Double defaultValue) |
static Integer |
getInt(Object o) |
static Integer |
getInt(Object o,
Integer defaultValue) |
static Long |
getLong(Object o) |
static Long |
getLong(Object o,
Long defaultValue) |
static String |
getString(Object o) |
static String |
getString(Object o,
String defaultValue) |
static List<String> |
getStrings(Object o)
Convert the input into a list of string; ignore null members.
|
Copyright © 2022 The Apache Software Foundation. All rights reserved.