1 16 17 package org.apache.taglibs.i18n; 18 19 import java.text.Format ; 20 import java.text.NumberFormat ; 21 22 28 public class FormatCurrencyTag extends FormatTagSupport { 29 30 protected static final String _tagname = "i18n:formatCurrency"; 31 32 33 protected Format getFormat() { 36 return NumberFormat.getCurrencyInstance( getLocale() ); 37 } 38 } 39 | Popular Tags |