Strings Class

  • java.lang.Object
    • com.microsoft.azure.keyvault.cryptography.Strings

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