public class QQWry
extends java.lang.Object
| Constructor and Description |
|---|
QQWry()
Create QQWry Load qqwry.dat from classpath.
|
QQWry(byte[] data)
Create QQWry with provided qqwry.dat data.
|
QQWry(java.nio.file.Path file)
Create QQWry from a path to file qqwry.dat.
|
| Modifier and Type | Method and Description |
|---|---|
IPZone |
findIP(java.lang.String ip) |
public QQWry()
throws java.io.IOException
java.io.IOException - if encounter error while reading qqwry.datpublic QQWry(byte[] data)
data - fully read data from a qqwry.dat file.public QQWry(java.nio.file.Path file)
throws java.io.IOException
file - path to qqwry.datjava.io.IOException - if encounter error while reading from the given file.public IPZone findIP(java.lang.String ip)