Class AbbreviationUtils

java.lang.Object
migratedb.v1.core.internal.util.AbbreviationUtils

public final class AbbreviationUtils extends Object
Various abbreviation-related utilities.
  • Constructor Details

    • AbbreviationUtils

      public AbbreviationUtils()
  • Method Details

    • abbreviateDescription

      public static String abbreviateDescription(String description)
      Abbreviates this description to a length that will fit in the database.
      Parameters:
      description - The description to process.
      Returns:
      The abbreviated version.
    • abbreviateScript

      public static String abbreviateScript(String script)
      Abbreviates this script to a length that will fit in the database.
      Parameters:
      script - The script to process.
      Returns:
      The abbreviated version.