public class PMMLUtils
extends java.lang.Object
| Constructor and Description |
|---|
PMMLUtils() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
pad(java.lang.String source,
java.lang.String padChar,
int length,
boolean leftPad)
Utility method to left or right pad strings with arbitrary characters.
|
public static java.lang.String pad(java.lang.String source,
java.lang.String padChar,
int length,
boolean leftPad)
source - the source stringpadChar - the character to pad withlength - the length of the resulting stringleftPad - pad to the left instead of the right