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
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Check whether the passed string is null or emptystatic boolean
isNullOrEmpty
(String str) Check whether the string is null or emptystatic void
Match 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
-
-