StringUtil Class
- java.
lang. Object - com.
microsoft. azure. servicebus. primitives. StringUtil
- com.
public class StringUtil
Field Summary
Modifier and Type | Field and Description |
---|---|
final String | EMPTY |
Method Summary
Modifier and Type | Method and Description |
---|---|
String | getRandomString() |
String | getShortRandomString() |
boolean | isNullOrEmpty(String string) |
boolean | isNullOrWhiteSpace(String string) |
Field Details
EMPTY
public static final String EMPTY= ""
Method Details
getRandomString
public static String getRandomString()
getShortRandomString
public static String getShortRandomString()
isNullOrEmpty
public static boolean isNullOrEmpty(String string)
Parameters:
string
isNullOrWhiteSpace
public static boolean isNullOrWhiteSpace(String string)
Parameters:
string
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java