public class NetworkInfo extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
getFQDN() |
static String[] |
getFQDNs() |
static String |
getHostname() |
static String |
getIPAddress() |
static String[] |
getIPAddresses() |
static String[] |
getNameservers() |
public static String getHostname() throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic static String getFQDN() throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic static String[] getIPAddresses() throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic static String getIPAddress() throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic static String[] getFQDNs() throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic static String[] getNameservers() throws IOException, InterruptedException
IOExceptionInterruptedExceptionCopyright © 2012–2015 Pi4J. All rights reserved.