public class PMMLUtils extends Object
Constructor and Description |
---|
PMMLUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
pad(String source,
String padChar,
int length,
boolean leftPad)
Utility method to left or right pad strings with arbitrary characters.
|
public static String pad(String source, 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 rightCopyright © 2020 University of Waikato, Hamilton, NZ. All rights reserved.