public class SpacePadder extends Object
Constructor and Description |
---|
SpacePadder() |
Modifier and Type | Method and Description |
---|---|
static void |
leftPad(StringBuffer buf,
String s,
int desiredLength)
Deprecated.
|
static void |
leftPad(StringBuilder buf,
String s,
int desiredLength) |
static void |
rightPad(StringBuffer buf,
String s,
int desiredLength)
Deprecated.
|
static void |
rightPad(StringBuilder buf,
String s,
int desiredLength) |
static void |
spacePad(StringBuffer sbuf,
int length)
Deprecated.
|
static void |
spacePad(StringBuilder sbuf,
int length)
Fast space padding method.
|
public static final String LINE_SEP
@Deprecated public static final void leftPad(StringBuffer buf, String s, int desiredLength)
public static final void leftPad(StringBuilder buf, String s, int desiredLength)
@Deprecated public static final void rightPad(StringBuffer buf, String s, int desiredLength)
public static final void rightPad(StringBuilder buf, String s, int desiredLength)
@Deprecated public static final void spacePad(StringBuffer sbuf, int length)
sbuf
- the buffer to padlength
- the target size of the buffer after paddingpublic static final void spacePad(StringBuilder sbuf, int length)
sbuf
- the buffer to padlength
- the target size of the buffer after paddingCopyright © 2005–2019 QOS.ch. All rights reserved.