Package one.empty3
Class Pojo
java.lang.Object
one.empty3.Pojo
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PropertiesgetProperties(Object o, Properties p) static ObjectgetProperty(Object o, String propertyName) static ClassgetPropertyType(Object o, String propertyName) static booleanstatic voidstatic voidstatic booleansetProperties(Object o, Properties p) static voidsetProperty(Object o, String propertyName, Object value, Class cl)
-
Constructor Details
-
Pojo
public Pojo()
-
-
Method Details
-
parseBoolean
- Throws:
NumberFormatException
-
setO
-
setP
-
setProperties
-
getProperties
- Parameters:
o- Pojo objectp- Properties list String (name), String (scalar value b|d|i)- Returns:
- properties getter list value
-
getPropertyType
- Throws:
NoSuchMethodException
-
setProperty
public static void setProperty(Object o, String propertyName, Object value, Class cl) throws InvocationTargetException, IllegalAccessException, NoSuchMethodException -
getProperty
public static Object getProperty(Object o, String propertyName) throws InvocationTargetException, IllegalAccessException, NoSuchMethodException
-