java获取ip_地区工具包

whmeng69 12 0 RAR 2020-12-05 07:12:47

把包引到项目中 在项目的代码中直接调用该方法即可: //指定纯真数据库的文件名,所在文件夹 IPSeeker ip=new IPSeeker("QQWry.Dat","E:\\ipdata"); //获得地区 String address = ip.getIPLocation("58.62.226.211").getCountry(); //获得类型 ip.getIPLocation("58.62.226.211").getArea(); ------------------------------------------------------------------- 58.6

用户评论
请输入评论内容
评分:
暂无评论