public class Inet6Util extends Object
Modifier and Type | Method and Description |
---|---|
static void |
convertToBytes(String hexWord,
byte[] ipByteArray,
int byteIndex)
Converts a 4 character hex word into a 2 byte word equivalent
|
static byte[] |
createByteArrayFromIPAddressString(String ipAddressString)
Creates an byte[] based on an ipAddressString.
|
static boolean |
isValidIP4Word(String word) |
static boolean |
isValidIP6Address(String ipAddress) |
static boolean |
isValidIPV4Address(String value)
Takes a string and parses it to see if it is a valid IPV4 address.
|
public static byte[] createByteArrayFromIPAddressString(String ipAddressString)
public static void convertToBytes(String hexWord, byte[] ipByteArray, int byteIndex)
public static boolean isValidIP6Address(String ipAddress)
public static boolean isValidIP4Word(String word)
public static boolean isValidIPV4Address(String value)
Copyright © 2006–2016 The Apache Software Foundation. All rights reserved.