Class Strings

java.lang.Object
com.google.api.client.util.Strings

public final class Strings extends Object
Static utility methods pertaining to String instances.

NOTE: proxy for the Guava implementation of Strings.

Since:
1.14
  • Constructor Details

    • Strings

      private Strings()
  • Method Details

    • isNullOrEmpty

      public static boolean isNullOrEmpty(String string)
      Returns true if the given string is null or is the empty string.
      Parameters:
      string - a string reference to check (may be null)
      Returns:
      true if the string is null or is the empty string