Package org.slf4j.profiler
Class SpacePadder
java.lang.Object
org.slf4j.profiler.SpacePadder
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidleftPad(StringBuffer buf, String s, int desiredLength)Deprecated.static voidleftPad(StringBuilder buf, String s, int desiredLength)static voidrightPad(StringBuffer buf, String s, int desiredLength)Deprecated.static voidrightPad(StringBuilder buf, String s, int desiredLength)static voidspacePad(StringBuffer sbuf, int length)Deprecated.static voidspacePad(StringBuilder sbuf, int length)Fast space padding method.
-
Field Details
-
LINE_SEP
-
-
Constructor Details
-
SpacePadder
public SpacePadder()
-
-
Method Details
-
leftPad
Deprecated. -
leftPad
-
rightPad
Deprecated. -
rightPad
-
spacePad
Deprecated.Fast space padding method.- Parameters:
sbuf- the buffer to padlength- the target size of the buffer after padding
-
spacePad
Fast space padding method.- Parameters:
sbuf- the buffer to padlength- the target size of the buffer after padding
-