Class QualifierNameUtils

java.lang.Object
de.hybris.platform.integrationbackoffice.utility.QualifierNameUtils

public class QualifierNameUtils extends Object
Provides utility methods for qualifier naming
  • Method Details

    • isAlphaNumericName

      public static boolean isAlphaNumericName(String name)
      Checks if given name contains only alpha-numeric characters
      Parameters:
      name - name that will be checked for non-alpha-numeric characters
      Returns:
      true if the name consists only of alpha-numeric characters, false otherwise.
    • removeNonAlphaNumericCharacters

      public static String removeNonAlphaNumericCharacters(String name)
      Removes all non-alpha-numeric characters from given text and returns it
      Parameters:
      name - name that should be cleared off alpha-numeric characters
      Returns:
      name that consists of only alpha-numeric characters.