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 NetworkInformationServiceIOExceptionInterruptedExceptionpublic String getFQDN() throws IOException, InterruptedException
getFQDN in interface NetworkInformationServiceIOExceptionInterruptedExceptionpublic String[] getIPAddresses() throws IOException, InterruptedException
getIPAddresses in interface NetworkInformationServiceIOExceptionInterruptedExceptionpublic String getIPAddress() throws IOException, InterruptedException
getIPAddress in interface NetworkInformationServiceIOExceptionInterruptedExceptionpublic String[] getFQDNs() throws IOException, InterruptedException
getFQDNs in interface NetworkInformationServiceIOExceptionInterruptedExceptionpublic String[] getNameservers() throws IOException, InterruptedException
getNameservers in interface NetworkInformationServiceIOExceptionInterruptedExceptionCopyright © 2012-2013 Pi4J. All Rights Reserved.