Here you can find the source of isEmptyString(String s)
public static boolean isEmptyString(String s)
//package com.java2s; public class Main { public static boolean isEmptyString(String s) { return s.trim().length() == 0; }/*from ww w. java2 s. co m*/ }