Package | Class | Use | Tree | Deprecated | Index | Help
| log4jdbc3 1.1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Constructor Summary
`Utilities()`

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`

Constructor Detail

### Utilities

    public Utilities()

Method Detail

### 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.

Package | Class | Use | Tree | Deprecated | Index | Help
| log4jdbc3 1.1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD