Need help with java?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

17mon
200 Stars 158 Forks 26 Commits 15 Opened issues

Description

17mon IP库解析代码

Services available

!
?

Need anything else?

Contributors list

# 170,304
Shell
Lua
C
11 commits
# 320,637
Go
PHP
3 commits

java

17mon IP库解析代码

基本用法

IP.enableFileWatch = true; // 默认值为:false,如果为true将会检查ip库文件的变化自动reload数据

IP.load("IP库本地绝对路径");

IP.find("8.8.8.8");//返回字符串数组["GOOGLE","GOOGLE"]

IPExt的用法与IP的用法相同,只是用来解析datx格式文件。

特别说明

IP.java 类仅适用于免费版dat与收费版每周每日版本的dat文件;
IPExt.java 类适用于收费版每日版本的datx文件;

区县库代码请查看 https://github.com/17mon/quxianku/

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.