Here you can find the source of isEmptyString(String str)
public static boolean isEmptyString(String str)
//package com.java2s; /**/* w ww . j a va 2s . com*/ * Copyright (c) 2012 The Wiseserc. All rights reserved. * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ public class Main { public static boolean isEmptyString(String str) { if (str == null || str.equals("")) { return true; } return false; } }