public class Utils extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
getHostname() |
static String |
getMacAddress(InetAddress address)
Returns the MAC address for the argument IP.
|
static byte[] |
readBytes(InputStream inStream,
int length) |
public static String getHostname()
public static String getMacAddress(InetAddress address)
address - IP address.public static byte[] readBytes(InputStream inStream, int length) throws TimeoutException, IOException
TimeoutExceptionIOExceptionCopyright © 2020. All rights reserved.