程序包 weka.core.pmml

类 PMMLUtils

java.lang.Object
weka.core.pmml.PMMLUtils

public class PMMLUtils extends Object
Utility routines.
版本:
$Revision: 5562 $
作者:
Mark Hall (mhall{[at]}pentaho{[dot]}com)
  • 构造器详细资料

    • 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.
      参数:
      source - the source string
      padChar - the character to pad with
      length - the length of the resulting string
      leftPad - pad to the left instead of the right
      返回:
      a padded string