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
IOException
InterruptedException
public static String getFQDN() throws IOException, InterruptedException
IOException
InterruptedException
public static String[] getIPAddresses() throws IOException, InterruptedException
IOException
InterruptedException
public static String getIPAddress() throws IOException, InterruptedException
IOException
InterruptedException
public static String[] getFQDNs() throws IOException, InterruptedException
IOException
InterruptedException
public static String[] getNameservers() throws IOException, InterruptedException
IOException
InterruptedException
Copyright © 2012–2019 Pi4J. All rights reserved.