List of usage examples for org.apache.commons.beanutils.locale LocaleBeanUtils getProperty
public static String getProperty(Object bean, String name, String pattern) throws IllegalAccessException, InvocationTargetException, NoSuchMethodException
Return the value of the specified locale-sensitive property of the specified bean.
For more details see LocaleBeanUtilsBean
From source file:BeanUtilsExampleV5.java
public static void main(String args[]) throws Exception { BeanUtilsExampleV5 diff = new BeanUtilsExampleV5(); Movie movie = diff.prepareData();/*from w w w .j a va 2s . co m*/ System.err.println( LocaleBeanUtils.getProperty(movie, "dateOfRelease", "dd-MMM-yyyy")); }