com.rt.storage.api.client.util.Strings Maven / Gradle / Ivy
package com.rt.storage.api.client.util;
/**
* Static utility methods pertaining to {@code String} instances.
*
* @since 1.14
* @author Yaniv Inbar
*/
public final class Strings {
/**
* Returns {@code true} if the given string is null or is the empty string.
*
* @param string a string reference to check (may be {@code null})
* @return {@code true} if the string is null or is the empty string
*/
public static boolean isNullOrEmpty(String string) {
return com.google.common.base.Strings.isNullOrEmpty(string);
}
private Strings() {}
}