Utils.isEmpty(charset)?"utf-8":charset这行代码中的Utils这个类是哪个包的?

private static String parseResponse(HttpResponse response) {
HttpEntity entity=response.getEntity();
String charset=EntityUtils.getContentCharSet(entity);
charset=Utils.isEmpty(charset)?"utf-8":charset;
String body=null;
try {
body=EntityUtils.toString(entity,charset);
}catch(ParseException e) {
e.printStackTrace();
}catch(IOException e) {
e.printStackTrace();
}
return body;
}


向问下上面代码中的Utils这个类是属于哪个包中的方法?

public static boolean isEmpty(CharSequence cs) {
    return cs == null || cs.length() == 0;
}

    找不到可以自己写一个Utils的类,就是这个方法

    找到apache的一个包也有这个方法
    import org.apache.commons.lang3.StringUtils;

    charset=StringUtils.isEmpty(charset)?"utf-8":charset;