Class Strings
- java.lang.Object
-
- com.microsoft.azure.keyvault.extensions.Strings
-
public class Strings extends Object
String handlers.
-
-
Constructor Summary
Constructors Constructor Description Strings()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isNullOrEmpty(String arg)
Determines whether the parameter string is either null or empty.static boolean
isNullOrWhiteSpace(String arg)
Determines whether the parameter string is null, empty or whitespace.
-
-
-
Method Detail
-
isNullOrEmpty
public static boolean isNullOrEmpty(String arg)
Determines whether the parameter string is either null or empty.- Parameters:
arg
- the string to verify- Returns:
- true if the string is empty or null and false otherwise.
-
isNullOrWhiteSpace
public static boolean isNullOrWhiteSpace(String arg)
Determines whether the parameter string is null, empty or whitespace.- Parameters:
arg
- the string to verify- Returns:
- true if the string is empty, contains only whitespace or is null and false otherwise
-
-