- java.lang.Object
-
- com.pervasive.datarush.tokens.scalar.IpAddressDataUtil
-
public class IpAddressDataUtil extends Object
Utilities for working with IpAddress data.
-
-
Constructor Summary
Constructors Constructor Description IpAddressDataUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static byte[]
convertIp4Integer(int value)
static byte[]
convertIp4ToIp6(byte[] rawAddress)
static byte[]
convertIp6Longs(Long v1, Long v2)
static byte[]
parseIp4(String value)
static byte[]
parseIp6(String value)
static int
toIp4Integer(byte[] rawAddress)
static String
toIp4String(byte[] rawAddress)
static long[]
toIp6Longs(byte[] rawAddress)
static String
toIp6String(byte[] rawAddress)
-
-
-
Method Detail
-
parseIp4
public static byte[] parseIp4(String value)
-
convertIp4Integer
public static byte[] convertIp4Integer(int value)
-
toIp4String
public static String toIp4String(byte[] rawAddress)
-
toIp4Integer
public static int toIp4Integer(byte[] rawAddress)
-
parseIp6
public static byte[] parseIp6(String value)
-
toIp6String
public static String toIp6String(byte[] rawAddress)
-
toIp6Longs
public static long[] toIp6Longs(byte[] rawAddress)
-
convertIp4ToIp6
public static byte[] convertIp4ToIp6(byte[] rawAddress)
-
-