org.logicalcobwebs.proxool
类 FormatHelper

java.lang.Object
  继承者 org.logicalcobwebs.proxool.FormatHelper

public class FormatHelper
extends Object

Formats things as Strings

从以下版本开始:
Proxool 0.8
版本:
$Revision: 1.1 $, $Date: 2003/03/05 18:42:33 $
作者:
bill, $Author: billhorsman $ (current maintainer)

构造方法摘要
FormatHelper()
           
 
方法摘要
static String formatBigNumber(long value)
          Format like ###000000
static String formatMediumNumber(long value)
          Format like 0000
static String formatSmallNumber(long value)
          Format like 00
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

FormatHelper

public FormatHelper()
方法详细信息

formatSmallNumber

public static String formatSmallNumber(long value)
Format like 00

参数:
value - to format
返回:
formatted value

formatMediumNumber

public static String formatMediumNumber(long value)
Format like 0000

参数:
value - to format
返回:
formatted value

formatBigNumber

public static String formatBigNumber(long value)
Format like ###000000

参数:
value - to format
返回:
formatted value


Copyright © 2014. All rights reserved.