src/org/kocakosm/pitaya/util/Strings.java
public static boolean isBlank(String str)
	{
		for (char c : str.toCharArray()) {
			if (c != ' ' && c != '\r' && c != '\n' && c != '\t') {
				return false;
			}
		}
		return true;
	}
public static boolean isBlank(String str)
	{
		for (char c : str.toCharArray()) {
			if (c != ' ' && c != '\r' && c != '\n' && c != '\t') {
				return false;
			}
		}
		return true;
	}
Returns whether the given {@code String} only contains space, '\n',
'\r' or '\t' characters.

@param str the {@code String} to test.

@return whether the given {@code String} is blank.

@throws NullPointerException if {@code str} is {@code null}.