public class StringUtil extends Object
Constructor and Description |
---|
StringUtil() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isNotNull(String str)
Check whether the passed string is null or empty
|
static boolean |
isNullOrEmpty(String str)
Check whether the string is null or empty
|
static void |
match(String first,
String second)
Match two strings else throw a
RuntimeException |
public static boolean isNotNull(String str)
str
- public static boolean isNullOrEmpty(String str)
str
- public static void match(String first, String second)
RuntimeException
first
- second
- Copyright © 2021 JBoss by Red Hat. All rights reserved.