摘要:
http://www.oschina.net/code/snippet_944819_33978 http://www.jb51.net/article/54287.htm public String getAddressByIP(String strIP) { try { //String str 阅读全文
摘要:
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])\\. 阅读全文