org.springframework.format.number

Class PercentStyleFormatter

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      protected java.text.NumberFormat getNumberFormat(java.util.Locale locale)
      Obtain a concrete NumberFormat for the specified locale.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PercentStyleFormatter

        public PercentStyleFormatter()
    • Method Detail

      • getNumberFormat

        protected java.text.NumberFormat getNumberFormat(java.util.Locale locale)
        Description copied from class: AbstractNumberFormatter
        Obtain a concrete NumberFormat for the specified locale.
        Specified by:
        getNumberFormat in class AbstractNumberFormatter
        Parameters:
        locale - the current locale
        Returns:
        the NumberFormat instance (never null)