public abstract class DHCPUtils extends Object
Constructor and Description |
---|
DHCPUtils() |
Modifier and Type | Method and Description |
---|---|
static InetAddress |
byteArrayToInetAddr(byte[] ba) |
static short |
byteArrayToShort(byte[] ba) |
static String |
byteArrayToString(byte[] bytes) |
static byte[] |
byteToByteArray(byte value) |
static byte[] |
inetAddrToByteArray(InetAddress address) |
static byte[] |
intToByteArray(int value) |
static byte[] |
shortToByteArray(short value) |
static byte[] |
strAddrToByteArray(String addr) |
static byte[] |
strListAddrsToByteArray(List<String> strList) |
static byte[] |
strMacAddrtoByteArray(String macAddress) |
public static byte[] byteToByteArray(byte value)
public static byte[] shortToByteArray(short value)
public static byte[] intToByteArray(int value)
public static byte[] inetAddrToByteArray(InetAddress address)
public static byte[] strAddrToByteArray(String addr) throws UnknownHostException
UnknownHostException
public static byte[] strListAddrsToByteArray(List<String> strList) throws UnknownHostException
UnknownHostException
public static short byteArrayToShort(byte[] ba)
public static InetAddress byteArrayToInetAddr(byte[] ba)
public static byte[] strMacAddrtoByteArray(String macAddress)
public static String byteArrayToString(byte[] bytes)
Copyright © 2019 OpenDaylight. All rights reserved.