Here you can find the source of ckNonEmpty(String... argvs)
public static boolean ckNonEmpty(String... argvs)
//package com.java2s; public class Main { public static boolean ckNonEmpty(String... argvs) { for (String arg : argvs) { if (ckIsEmpty(arg)) { return true; }/* w ww. ja v a 2s . co m*/ } return false; } public static boolean ckIsEmpty(String s) { if (s == null || s.trim().equals("") || s.trim().equals("null")) { return true; } return false; } }