Class StringHelpers

java.lang.Object
io.debezium.ibmi.db2.journal.retrieve.StringHelpers

public class StringHelpers extends Object
  • Field Details

    • log

      private static org.slf4j.Logger log
  • Constructor Details

    • StringHelpers

      private StringHelpers()
  • Method Details

    • padLeft

      public static String padLeft(String s, int n)
      Pad space to the left of the input string s, so that the length of s is n.
      Parameters:
      s -
      n -
      Returns:
    • padRight

      public static String padRight(String s, int n)
      Pad space to the right of the input string s, so that the length of s is n.
      Parameters:
      s -
      n -
      Returns:
    • safeTrim

      public static String safeTrim(String s)