net.sf.log4jdbc
Class Utilities
java.lang.Object
net.sf.log4jdbc.Utilities
public class Utilities
- extends Object
Static utility methods for use throughout the project.
-

Method Summary |
static String |
rightJustify(int fieldSize,
String field)
Right justify a field within a certain number of spaces. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Utilities
public Utilities()
rightJustify
public static String rightJustify(int fieldSize,
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.