java.lang.Object
org.pentaho.di.trans.steps.tablecompare.Kjube

public class Kjube extends Object
  • Field Details

  • Constructor Details

    • Kjube

      public Kjube()
  • Method Details

    • isSpace

      public static final boolean isSpace(char c)
      Determines whether or not a character is considered a space. A character is considered a space in Kettle if it is a space, a tab, a newline or a cariage return.
      Parameters:
      c - The character to verify if it is a space.
      Returns:
      true if the character is a space. false otherwise.
    • ltrim

      public static String ltrim(String source)
      Left trim: remove spaces to the left of a String.
      Parameters:
      str - The String to left trim
      Returns:
      The left trimmed String
    • rtrim

      public static String rtrim(String source)
      Right trim: remove spaces to the right of a string
      Parameters:
      str - The string to right trim
      Returns:
      The trimmed string.
    • trim

      public static final String trim(String str)
      Trims a string: removes the leading and trailing spaces of a String.
      Parameters:
      str - The string to trim
      Returns:
      The trimmed string.