Here you can find the source of isBlank(String str)
public static boolean isBlank(String str)
//package com.java2s; public class Main { public static boolean isBlank(String str) { return null == str || "".equals(str.toString()); }// w w w. j a v a2s . c om }