Class QualifierNameUtils
- java.lang.Object
-
- de.hybris.platform.integrationbackoffice.utility.QualifierNameUtils
-
public class QualifierNameUtils extends java.lang.ObjectProvides utility methods for qualifier naming
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisAlphaNumericName(java.lang.String name)Checks if given name contains only alpha-numeric charactersstatic java.lang.StringremoveNonAlphaNumericCharacters(java.lang.String name)Removes all non-alpha-numeric characters from given text and returns it
-
-
-
Method Detail
-
isAlphaNumericName
public static boolean isAlphaNumericName(java.lang.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 java.lang.String removeNonAlphaNumericCharacters(java.lang.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.
-
-