public class NetworkInformationServiceImpl extends Object implements NetworkInformationService
Constructor and Description |
---|
NetworkInformationServiceImpl() |
Modifier and Type | Method and Description |
---|---|
String |
getFQDN() |
String[] |
getFQDNs() |
String |
getHostname() |
String |
getIPAddress() |
String[] |
getIPAddresses() |
String[] |
getNameservers() |
public String getHostname() throws IOException, InterruptedException
getHostname
in interface NetworkInformationService
IOException
InterruptedException
public String getFQDN() throws IOException, InterruptedException
getFQDN
in interface NetworkInformationService
IOException
InterruptedException
public String[] getIPAddresses() throws IOException, InterruptedException
getIPAddresses
in interface NetworkInformationService
IOException
InterruptedException
public String getIPAddress() throws IOException, InterruptedException
getIPAddress
in interface NetworkInformationService
IOException
InterruptedException
public String[] getFQDNs() throws IOException, InterruptedException
getFQDNs
in interface NetworkInformationService
IOException
InterruptedException
public String[] getNameservers() throws IOException, InterruptedException
getNameservers
in interface NetworkInformationService
IOException
InterruptedException
Copyright © 2012–2016 Pi4J. All rights reserved.