Class QualifierNameUtils
java.lang.Object
de.hybris.platform.integrationbackoffice.utility.QualifierNameUtils
Provides utility methods for qualifier naming
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisAlphaNumericName(String name) Checks if given name contains only alpha-numeric charactersstatic StringRemoves all non-alpha-numeric characters from given text and returns it
-
Method Details
-
isAlphaNumericName
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
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.
-