public class SpacePadder
extends java.lang.Object
Constructor and Description |
---|
SpacePadder() |
Modifier and Type | Method and Description |
---|---|
static void |
leftPad(java.lang.StringBuilder buf,
java.lang.String s,
int desiredLength) |
static void |
rightPad(java.lang.StringBuilder buf,
java.lang.String s,
int desiredLength) |
static void |
spacePad(java.lang.StringBuilder sbuf,
int length)
Fast space padding method.
|
public static final void leftPad(java.lang.StringBuilder buf, java.lang.String s, int desiredLength)
public static final void rightPad(java.lang.StringBuilder buf, java.lang.String s, int desiredLength)
public static final void spacePad(java.lang.StringBuilder sbuf, int length)
Copyright © 2010 - 2020 Adobe. All Rights Reserved