java.lang.Object
edu.internet2.middleware.grouperInstaller.morphString.Morph

public class Morph extends Object
  • Field Details

    • ENCRYPT_KEY

      public static final String ENCRYPT_KEY
      See Also:
    • testMorphKey

      public static String testMorphKey
      if testing, and not relying on morph key being there, use this
  • Method Details

    • stripPrefix

      public static String stripPrefix(String string, String prefix)
      strip the prefix off
      Parameters:
      string -
      prefix -
      Returns:
      the string without the prefix
    • readFileIntoStringUtf8

      public static String readFileIntoStringUtf8(File file)
      Parameters:
      file - is the file to read into a string
      Returns:
      String
    • readFromFileIfFileUtf8

      public static String readFromFileIfFileUtf8(String in, boolean disableExternalFileLookup)