| java.lang.Object org.apache.james.jspf.core.Inet6Util
Inet6Util | public class Inet6Util (Code) | | Utility functions for IPV6 operations.
see Inet6Util from the Apache Harmony project
see org.apache.harmony.util.Inet6Util
|
convertToBytes | public static void convertToBytes(String hexWord, byte ipByteArray, int byteIndex)(Code) | | Converts a 4 character hex word into a 2 byte word equivalent
|
createByteArrayFromIPAddressString | public static byte[] createByteArrayFromIPAddressString(String ipAddressString)(Code) | | Creates an byte[] based on an ipAddressString. No error handling is
performed here.
|
getIntValue | static int getIntValue(char c)(Code) | | |
isValidHexChar | static boolean isValidHexChar(char c)(Code) | | |
isValidIP4Word | public static boolean isValidIP4Word(String word)(Code) | | |
isValidIP6Address | public static boolean isValidIP6Address(String ipAddress)(Code) | | |
isValidIPV4Address | public static boolean isValidIPV4Address(String value)(Code) | | Takes a string and parses it to see if it is a valid IPV4 address.
true, if the string represents an IPV4 address in dottednotation, false otherwise |
|
|