Here you can find the source of isEmpty(String value)
public static boolean isEmpty(String value)
//package com.java2s; public class Main { public static boolean isEmpty(String value) { return (value == null || value.trim().length() == 0); }/* www. j a v a 2 s . co m*/ }