org.logicalcobwebs.proxool
Class FormatHelper

java.lang.Object
  extended by 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)

Constructor Summary
FormatHelper()
           
 
Method Summary
static java.lang.String formatBigNumber(long value)
          Format like ###000000
static java.lang.String formatMediumNumber(long value)
          Format like 0000
static java.lang.String formatSmallNumber(long value)
          Format like 00
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormatHelper

public FormatHelper()
Method Detail

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