org.eclipse.birt.chart.computation
Class ValueFormatter

java.lang.Object
  extended byorg.eclipse.birt.chart.computation.ValueFormatter

public final class ValueFormatter
extends java.lang.Object


Constructor Summary
ValueFormatter()
           
 
Method Summary
static java.lang.String correctNumber(java.lang.String sValue, double dValue)
          Takes care of problems while presenting -0.00
static java.lang.String format(java.lang.Object oValue, FormatSpecifier fs, com.ibm.icu.util.ULocale lcl, java.lang.Object oCachedJavaFormatter)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueFormatter

public ValueFormatter()
Method Detail

format

public static final java.lang.String format(java.lang.Object oValue,
                                            FormatSpecifier fs,
                                            com.ibm.icu.util.ULocale lcl,
                                            java.lang.Object oCachedJavaFormatter)
                                     throws ChartException
Parameters:
oValue -
fs -
lcl -
Returns:
formatted string
Throws:
ChartException

correctNumber

public static final java.lang.String correctNumber(java.lang.String sValue,
                                                   double dValue)
Takes care of problems while presenting -0.00

Parameters:
dValue -
Returns:
corrected number


Copyright © 2005 Actuate Corp. All rights reserved.