Class StringUtils

java.lang.Object
org.cryptomator.cryptofs.common.StringUtils

public final class StringUtils extends Object
Functions used from commons-lang
  • Method Details

    • removeEnd

      public static String removeEnd(String str, String remove)
      Removes the suffix of a string, if the string ends with the suffix.
      Parameters:
      str - input string
      remove - the suffix to match and remove
      Returns:
      a copy of str with the suffix removed, otherwise just str