跳过导航链接
C G H I R 

C

cn.novelweb.ip - 程序包 cn.novelweb.ip
 

G

getIpByHost(String) - 类 中的静态方法cn.novelweb.ip.IpUtils
通过域名获取IP地址
getIpLocationByBinary(String) - 类 中的静态方法cn.novelweb.ip.IpUtils
获取指定IP地址的实际地理位置
使用 二进制搜索算法 算法
getIpLocationByBtree(String) - 类 中的静态方法cn.novelweb.ip.IpUtils
获取指定IP地址的实际地理位置
使用 b-tree 算法
getIpLocationByMemory(String) - 类 中的静态方法cn.novelweb.ip.IpUtils
获取指定IP地址的实际地理位置
使用内存搜索 memorySearch 算法
getLocalhost() - 类 中的静态方法cn.novelweb.ip.IpUtils
获取本机网卡的IP地址和计算机名
getLocalhostStr() - 类 中的静态方法cn.novelweb.ip.IpUtils
获取本机网卡IP地址,这个地址为所有网卡中非回路地址的第一个
如果获取失败调用 InetAddress.getLocalHost()方法获取。

H

hideIpPart(String) - 类 中的静态方法cn.novelweb.ip.IpUtils
隐藏掉IP地址的最后一部分,使用 * 代替

I

IpUtils - cn.novelweb.ip中的类
IP工具类集 2019-11-21 12:04
IpUtils() - 类 的构造器cn.novelweb.ip.IpUtils
 
isInnerIp(String) - 类 中的静态方法cn.novelweb.ip.IpUtils
判断是否为内网IP
isUsableLocalPort(int) - 类 中的静态方法cn.novelweb.ip.IpUtils
检测本地端口是否可用
isValidPort(int) - 类 中的静态方法cn.novelweb.ip.IpUtils
是否为有效的端口
此方法并不检查端口是否被占用 有效端口是0~65535

R

Region - cn.novelweb.ip中的类
地区信息 2019-11-21 14:25
Region() - 类 的构造器cn.novelweb.ip.Region
 
C G H I R 
跳过导航链接

Copyright © 2020. All rights reserved.