org.dspace.app.statistics
Class ReportTools

java.lang.Object
  extended by org.dspace.app.statistics.ReportTools

public class ReportTools
extends Object

This class provides a number of tools that may be useful to the methods which generate the different types of report

Author:
Richard Jones

Constructor Summary
ReportTools()
           
 
Method Summary
static String numberFormat(int number)
          method to take the given integer and produce a string to be used in the display of the report.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReportTools

public ReportTools()
Method Detail

numberFormat

public static String numberFormat(int number)
method to take the given integer and produce a string to be used in the display of the report. Basically provides an interface for a standard NumberFormat class, but without the hassle of instantiating and localising it.

Parameters:
number - the integer to be formatted
Returns:
a string containing the formatted number


Copyright © 2010 DuraSpace. All Rights Reserved.