Strings Class
- java.
lang. Object - com.
microsoft. azure. keyvault. cryptography. Strings
- com.
public class Strings
Method Summary
Modifier and Type | Method and Description |
---|---|
boolean |
isNullOrEmpty(String arg)
Determines whether the parameter string is either null or empty. |
boolean |
isNullOrWhiteSpace(String arg)
Determines whether the parameter string is null, empty or whitespace. |
Method Details
isNullOrEmpty
public static boolean isNullOrEmpty(String arg)
Determines whether the parameter string is either null or empty.
Parameters:
arg
- The string to be checked.
Returns:
true if the string is null or empty.
isNullOrWhiteSpace
public static boolean isNullOrWhiteSpace(String arg)
Determines whether the parameter string is null, empty or whitespace.
Parameters:
arg
- The string to be checked.
Returns:
true if the string is null, empty or whitespace.
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