SpacePadder (SLF4J 1.7.4 API)
Date: 2013-03-18

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

## org.slf4j.profiler
Class SpacePadder

    java.lang.Object
      org.slf4j.profiler.SpacePadder

    public class SpacePadder

extends Object

Field Summary
`static String` | `LINE_SEP`

Constructor Summary
`SpacePadder()`

Method Summary
`static void` | `leftPad(StringBuffer buf, String s, int desiredLength)`
`static void` | `rightPad(StringBuffer buf, String s, int desiredLength)`
`static void` | `spacePad(StringBuffer sbuf, int length)` Fast space padding method.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### LINE_SEP

    public static final String LINE_SEP

Constructor Detail

### SpacePadder

    public SpacePadder()

Method Detail

### leftPad

    public static final void leftPad(StringBuffer buf,
                                     String s,
                                     int desiredLength)

### rightPad

    public static final void rightPad(StringBuffer buf,
                                      String s,
                                      int desiredLength)

### spacePad

    public static final void spacePad(StringBuffer sbuf,
                                      int length)

  Fast space padding method.

  Parameters:
    `sbuf` - the buffer to pad
    `length` - the target size of the buffer after padding

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

Copyright © 2005-2013 QOS.ch. All Rights Reserved.