planetj.formatters
Class CurrencyCommaFormatter

java.lang.Object
  extended byplanetj.formatters.AbstractFormatter
      extended byplanetj.formatters.NumberFormatter
          extended byplanetj.formatters.NumberCommaFormatter
              extended byplanetj.formatters.CurrencyCommaFormatter
All Implemented Interfaces:
IFormatter

Deprecated. should be using CurrencyFormatter

public class CurrencyCommaFormatter
extends NumberCommaFormatter

Author:
Kevin Getting If pNum = 1024157 -> $1,024,157 If pNum = 1024157.95 -> $1,024,157.95

Constructor Summary
CurrencyCommaFormatter()
          Deprecated.  
 
Method Summary
 java.lang.String formatValue(java.lang.Object pNum, Field f)
          Deprecated. Formats a number by adding commas ',' where appropriate.
 
Methods inherited from class planetj.formatters.NumberFormatter
getNumberFormat
 
Methods inherited from class planetj.formatters.AbstractFormatter
isPrepareFieldValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CurrencyCommaFormatter

public CurrencyCommaFormatter()
Deprecated. 
Method Detail

formatValue

public java.lang.String formatValue(java.lang.Object pNum,
                                    Field f)
Deprecated. 
Description copied from class: NumberCommaFormatter
Formats a number by adding commas ',' where appropriate. For instance. If pNum = 1024157 -> 1,024,157 If pNum = 1024157.95 -> 1,024,157.95 Creation date: (7/25/2003 1:11:34 PM)

Specified by:
formatValue in interface IFormatter
Overrides:
formatValue in class NumberCommaFormatter