public class Reader extends Object
| 构造器和说明 |
|---|
Reader(InputStream in) |
Reader(String name) |
| 限定符和类型 | 方法和说明 |
|---|---|
String[] |
find(String addr,
String language) |
int |
getBuildUTCTime() |
String[] |
getSupportFields() |
String |
getSupportLanguages() |
protected void |
init(byte[] data) |
boolean |
isIPv4() |
boolean |
isIPv6() |
protected byte[] |
readAllAsStream(InputStream in) |
public Reader(String name) throws IOException, InvalidDatabaseException
public Reader(InputStream in) throws IOException, InvalidDatabaseException
protected byte[] readAllAsStream(InputStream in) throws IOException
IOExceptionprotected void init(byte[] data)
throws InvalidDatabaseException
public String[] find(String addr, String language) throws IPFormatException, InvalidDatabaseException
public boolean isIPv4()
public boolean isIPv6()
public int getBuildUTCTime()
public String[] getSupportFields()
public String getSupportLanguages()
Copyright © 2022. All rights reserved.