摘要: http://www.oschina.net/code/snippet_944819_33978 http://www.jb51.net/article/54287.htm public String getAddressByIP(String strIP) { try { //String str 阅读全文
posted @ 2016-02-04 16:07 JIN__JIN 阅读(297) 评论(0) 推荐(0) 编辑
摘要: public boolean ipCheck(String text) { if (text != null && !text.isEmpty()) { // 定义正则表达式 String regex = "^(1\\d{2}|2[0-4]\\d|25[0-5]|[1-9]\\d|[1-9])\\. 阅读全文
posted @ 2016-02-04 16:05 JIN__JIN 阅读(8741) 评论(0) 推荐(0) 编辑