2012年7月6日

过滤字符串中非法字符

摘要: static final char[] escChars = { '+', '-', '&', '|', '!', '{', '}', '[', ']', '^', '"', '~', '*', '?', '\\', ':' };static { Arrays.sort(escChars);}private String d 阅读全文

posted @ 2012-07-06 13:11 巧克力bean 阅读(320) 评论(0) 推荐(0)

导航