Package com.luna.common.net
Class IPAddressUtil
java.lang.Object
com.luna.common.net.IPAddressUtil
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
checkAuthority
(URL var0) static String
checkExternalForm
(URL var0) static String
checkHostString
(String var0) static byte[]
convertFromIPv4MappedAddress
(byte[] var0) static boolean
isIPv4LiteralAddress
(String var0) static boolean
isIPv6LiteralAddress
(String var0) static boolean
match
(char var0, long var1, long var3) static int
static int
static byte[]
textToNumericFormatV4
(String var0) static byte[]
textToNumericFormatV6
(String var0)
-
Field Details
-
LOCAL_HOST
- See Also:
-
-
Constructor Details
-
IPAddressUtil
public IPAddressUtil()
-
-
Method Details
-
textToNumericFormatV4
-
textToNumericFormatV6
-
isIPv4LiteralAddress
-
isIPv6LiteralAddress
-
convertFromIPv4MappedAddress
public static byte[] convertFromIPv4MappedAddress(byte[] var0) -
match
public static boolean match(char var0, long var1, long var3) -
scan
-
scan
-
checkAuthority
-
checkExternalForm
-
checkHostString
-