From 0038ae64c39a28fa5a454074a256fbaeb9e87a8f Mon Sep 17 00:00:00 2001 From: HardtoNameSX <32338778+sxa16@users.noreply.github.com> Date: Wed, 4 Apr 2018 10:51:05 -0700 Subject: [PATCH] Added English translation to README.md Please review and accept the pull request if the changes are to your liking. Thank you. --- README.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/README.md b/README.md index 59e71a0..a9da1bb 100644 --- a/README.md +++ b/README.md @@ -22,3 +22,30 @@ IP.java 类仅适用于免费版dat与收费版每周每日版本的dat文件; IPExt.java 类适用于收费版每日版本的datx文件; ``` 区县库代码请查看 https://github.com/17mon/quxianku/ + +------------------------------------------------------------- +(English Version) +java +==== + +17mon IP Library Parse Code + +## How to use +```java + +IP.enableFileWatch = true; // Default value is false. If IP.enableFileWatch equals true, it automatically checks changes of files in IP library and reloads data. + +IP.load("IP library's local absolute path"); + +IP.find("8.8.8.8");//return String array ["GOOGLE","GOOGLE"] + +``` + +IPExt can be used in the same way as IP. IPExt is only used for analyzing .datx files. + +##Note: +```java +IP.java is only applicable to Free version of dat, and daily or weekly version dat files in paid version; +IPExt.java is applicable to daily version datx files in paid version; +``` +Code for IP district library: https://github.com/17mon/quxianku/