Package org.keycloak.saml.common.util
Class StringUtil
java.lang.Object
org.keycloak.saml.common.util.StringUtil
Utility dealing with Strings
- Since:
- Oct 21, 2009
- Author:
- Anil.Saldhana@redhat.com
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanCheck whether the passed string is null or emptystatic booleanisNullOrEmpty(String str) Check whether the string is null or emptystatic voidMatch two strings else throw aRuntimeException
-
Constructor Details
-
StringUtil
public StringUtil()
-
-
Method Details
-
isNotNull
Check whether the passed string is null or empty- Parameters:
str-- Returns:
-
isNullOrEmpty
Check whether the string is null or empty- Parameters:
str-- Returns:
-
match
Match two strings else throw aRuntimeException- Parameters:
first-second-
-