|
fop 1.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.fop.afp.util.StringUtils
Library of utility methods useful in dealing with strings.
| Constructor Summary | |
StringUtils()
|
|
| Method Summary | |
static java.lang.String |
lpad(java.lang.String input,
char padding,
int length)
Padds the string to the left with the given character for the specified length. |
static java.lang.String |
rpad(java.lang.String input,
char padding,
int length)
Padds the string to the right with the given character for the specified length. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StringUtils()
| Method Detail |
public static java.lang.String lpad(java.lang.String input,
char padding,
int length)
input - The input string.padding - The char used for padding.length - The length of the new string.
public static java.lang.String rpad(java.lang.String input,
char padding,
int length)
input - The input string.padding - The char used for padding.length - The length of the new string.
|
fop 1.0 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||