org.logicalcobwebs.proxool
Class FormatHelper
java.lang.Object
org.logicalcobwebs.proxool.FormatHelper
public class FormatHelper
- extends java.lang.Object
Formats things as Strings
- Since:
- Proxool 0.8
- Version:
- $Revision: 1.1 $, $Date: 2003/03/05 18:42:33 $
- Author:
- bill, $Author: billhorsman $ (current maintainer)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
smallNumberFormat
private static java.text.DecimalFormat smallNumberFormat
mediumNumberFormat
private static java.text.DecimalFormat mediumNumberFormat
bigCountFormat
private static java.text.DecimalFormat bigCountFormat
FormatHelper
public FormatHelper()
formatSmallNumber
public static java.lang.String formatSmallNumber(long value)
- Format like 00
- Parameters:
value
- to format
- Returns:
- formatted value
formatMediumNumber
public static java.lang.String formatMediumNumber(long value)
- Format like 0000
- Parameters:
value
- to format
- Returns:
- formatted value
formatBigNumber
public static java.lang.String formatBigNumber(long value)
- Format like ###000000
- Parameters:
value
- to format
- Returns:
- formatted value