public abstract class AbstractNetworkParams extends Object implements NetworkParams
| Constructor and Description |
|---|
AbstractNetworkParams() |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getDnsServers() |
String |
getDomainName() |
String |
getHostName() |
protected static String |
searchGateway(List<String> lines)
Convenience method to parse the output of the `route` command.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIpv4DefaultGateway, getIpv6DefaultGatewaypublic String getDomainName()
getDomainName in interface NetworkParamspublic String getHostName()
getHostName in interface NetworkParamspublic String[] getDnsServers()
getDnsServers in interface NetworkParamsCopyright © 2010–2018 oshi. All rights reserved.