/**
* vo 출력
* @param title
* @param Vo 객체
*/
public static void printVo(String title, Object obj){
try {

log.info("====================>title ["+title+"]");

for (Field field : obj.getClass().getDeclaredFields()){
field.setAccessible(true);
Object value=field.get(obj);
log.info("=====> name ["+field.getName()+"] / value ["+value+"]");
}
} catch (Exception e) {

}
}


'프로그래밍 > JAVA' 카테고리의 다른 글

날짜관련 util  (0) 2019.03.07
FCM push 보내기  (0) 2019.03.07
Map을 VO로 변환  (0) 2019.03.07
VO를 Map으로 변환  (0) 2019.03.07
jsonString to Array 처리  (0) 2019.03.07

+ Recent posts