Package org.keycloak.saml.common.util
Class StringUtil
- java.lang.Object
- 
- org.keycloak.saml.common.util.StringUtil
 
- 
 public class StringUtil extends Object Utility dealing with Strings- Since:
- Oct 21, 2009
- Author:
- Anil.Saldhana@redhat.com
 
- 
- 
Constructor SummaryConstructors Constructor Description StringUtil()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanisNotNull(String str)Check whether the passed string is null or emptystatic booleanisNullOrEmpty(String str)Check whether the string is null or emptystatic voidmatch(String first, String second)Match two strings else throw aRuntimeException
 
- 
- 
- 
Method Detail- 
isNotNullpublic static boolean isNotNull(String str) Check whether the passed string is null or empty- Parameters:
- str-
- Returns:
 
 - 
isNullOrEmptypublic static boolean isNullOrEmpty(String str) Check whether the string is null or empty- Parameters:
- str-
- Returns:
 
 - 
matchpublic static void match(String first, String second) Match two strings else throw aRuntimeException- Parameters:
- first-
- second-
 
 
- 
 
-