Javaと情熱のあいだ

カステラとドーナツと珈琲

2009-01-08から1日間の記事一覧

BeanUtils.getPropertyとPropertyUtils.getPropertyの違い

BeanUtilsのBeanからメンバを取得するメソッドは複数あるけど メソッドによって取得する結果が異なるのでその検証用サンプル。 BeanUtils.getPropertyはString PropertyUtils.getPropertyはObject BeanUtils.getProperty public class BeanUtilsExample { /*…