摘要: 1.添加maven依赖 2.获取拼音逻辑 阅读全文
posted @ 2017-09-22 15:58 空空的小冷 阅读(1416) 评论(0) 推荐(0)
摘要: public class DoGetChinese{ public static void main(String[] args) { String src = "D:/ab.txt"; String res = "D:\\static"; File srcFile = new File(src); ... 阅读全文
posted @ 2017-09-22 15:39 空空的小冷 阅读(312) 评论(0) 推荐(0)
摘要: public static String getChinese(String paramValue) { String regex = "([\u4e00-\u9fa5]+)"; String str = ""; Matcher matcher = Pattern.compile(regex).matcher(paramVa... 阅读全文
posted @ 2017-09-22 15:00 空空的小冷 阅读(129) 评论(0) 推荐(0)