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 SummaryConstructors
- 
Method SummaryModifier 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- 
StringUtilpublic StringUtil()
 
- 
- 
Method Details- 
isNotNullCheck whether the passed string is null or empty- Parameters:
- str-
- Returns:
 
- 
isNullOrEmptyCheck whether the string is null or empty- Parameters:
- str-
- Returns:
 
- 
matchMatch two strings else throw aRuntimeException- Parameters:
- first-
- second-
 
 
-