net.sf.log4jdbc
Class Utilities

java.lang.Object
  extended by net.sf.log4jdbc.Utilities

public class Utilities
extends java.lang.Object

Static utility methods for use throughout the project.


Constructor Summary
Utilities()
           
 
Method Summary
static java.lang.String rightJustify(int fieldSize, java.lang.String field)
          Right justify a field within a certain number of spaces.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utilities

public Utilities()
Method Detail

rightJustify

public static java.lang.String rightJustify(int fieldSize,
                                            java.lang.String field)
Right justify a field within a certain number of spaces.

Parameters:
fieldSize - field size to right justify field within.
field - contents to right justify within field.
Returns:
the field, right justified within the requested size.