检查字符串是否包含中文字符
public static boolean isContailChinese(String str){
boolean isContain = false;
Pattern p = Pattern.compile("[\u4e00-\u9fa5]");
Matcher m = p.matcher(str);
if (m.find()) {
isContain = true;
}
return isContain;
}