コード例 #1
0
 public String getColumnName(int c) {
   return labelAsHeader
       ? getMetaProperty(c).getLabel(locale)
       : Strings.change(getMetaProperty(c).getQualifiedName(), ".", "_");
 }
コード例 #2
0
 public Object parse(HttpServletRequest request, String string) throws Exception {
   if (Is.emptyString(string)) return null;
   string = Strings.change(string, " ", ""); // In order to work with Polish	
   return new BigDecimal(getFormat().parse(string).toString()).setScale(2);
 }