Overview | Package | Class | Tree | Deprecated | Index | Help | Weka's home
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## weka.core.pmml
Class PMMLUtils

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

    public class PMMLUtils

extends java.lang.Object

Utility routines.

Version:
  $Revision: 5562 $
Author:
  Mark Hall (mhall{[at]}pentaho{[dot]}com)

Constructor Summary
`PMMLUtils()`

Method Summary
`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.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### PMMLUtils

    public PMMLUtils()

Method Detail

### pad

    public 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.

  Parameters:
    `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
  Returns:
    a padded string

Overview | Package | Class | Tree | Deprecated | Index | Help | Weka's home
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD