ch.qos.logback.core.pattern
Class SpacePadder

java.lang.Object
  extended by ch.qos.logback.core.pattern.SpacePadder

public class SpacePadder
extends Object


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
 

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.



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