Package com.google.api.client.util
Class Strings
java.lang.Object
com.google.api.client.util.Strings
Static utility methods pertaining to
String
instances.
NOTE: proxy for the Guava implementation of Strings
.
- Since:
- 1.14
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
isNullOrEmpty
(String string) Returnstrue
if the given string is null or is the empty string.
-
Constructor Details
-
Strings
private Strings()
-
-
Method Details
-
isNullOrEmpty
Returnstrue
if the given string is null or is the empty string.- Parameters:
string
- a string reference to check (may benull
)- Returns:
true
if the string is null or is the empty string
-