Local network utility methods. More...
Static Public Member Functions | |
static String[] | getIPAddresses (AddressType[] addressTypes) |
Gets a list of local IP addresses (excluding loopback). More... | |
static String[] | getIPAddresses (AddressType[] addressTypes, boolean allowPrivate) |
Gets a list of local IP addresses (excluding loopback). More... | |
static AddressType | getAddressType (String ipAddress) |
static byte[] | getAddressBytes (String ipAddress) |
static String | getAddress (byte[] addressBytes) |
Local network utility methods.
|
static |
|
static |
|
static |
|
static |
Gets a list of local IP addresses (excluding loopback).
addressTypes | The address types. |
|
static |
Gets a list of local IP addresses (excluding loopback).
addressTypes | The address types. |
allowPrivate | Whether to include private addresses. |