weka.core.pmml
Class PMMLUtils
java.lang.Object
weka.core.pmml.PMMLUtils
public class PMMLUtils
- extends Object
Utility routines.
- Version:
- $Revision: 8034 $
- Author:
- Mark Hall (mhall{[at]}pentaho{[dot]}com)
|
Method Summary |
static String |
pad(String source,
String padChar,
int length,
boolean leftPad)
Utility method to left or right pad strings with arbitrary characters. |
PMMLUtils
public PMMLUtils()
pad
public static String pad(String source,
String padChar,
int length,
boolean leftPad)
- Utility method to left or right pad strings with arbitrary characters.
- Parameters:
source - the source stringpadChar - the character to pad withlength - the length of the resulting stringleftPad - pad to the left instead of the right
- Returns:
- a padded string
Copyright © 2012 University of Waikato, Hamilton, NZ. All Rights Reserved.