//含有中文返回true,否則返回false
import Java.util.regex.Matcher;
import Java.util.regex.Pattern;
public boolean isChiness(String s)
{
String pattern="[u4e00-u9fa5]+";
Pattern p=Pattern.compile(pattern);
Matcher result=p.matcher(s);
return result.find();
}