org.acm.seguin.util
Class TextFormatter

java.lang.Object
  extended by org.acm.seguin.util.TextFormatter

public class TextFormatter
extends java.lang.Object

Creates an object that can handle text formatting

Author:
Chris Seguin

Constructor Summary
TextFormatter()
           
 
Method Summary
static java.lang.String rightJustifyNumber(long count, int size)
          Create a string that contains a number that is right justified
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextFormatter

public TextFormatter()
Method Detail

rightJustifyNumber

public static java.lang.String rightJustifyNumber(long count,
                                                  int size)
Create a string that contains a number that is right justified

Parameters:
count - the value to print
size - the size of the buffer
Returns:
Description of the Returned Value