public class IPCore extends Object
| 构造器和说明 |
|---|
IPCore() |
| 限定符和类型 | 方法和说明 |
|---|---|
static byte[] |
getIpByteArrayFromString(String ip)
从ip的字符串形式得到字节数组形式
|
static String |
getIpStringFromBytes(byte[] ip)
字节数组IP转String
|
static String |
getString(byte[] b,
int offset,
int len,
String encoding)
根据某种编码方式将字节数组转换成字符串
|
Copyright © 2024. All rights reserved.