public abstract class AbstractNetworkParams extends Object implements NetworkParams
| Constructor and Description |
|---|
AbstractNetworkParams() |
| Modifier and Type | Method and Description |
|---|---|
String[] |
getDnsServers()
getDnsServers.
|
String |
getDomainName()
getDomainName.
|
String |
getHostName()
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.
getDomainName in interface NetworkParamspublic String getHostName()
getHostName.
getHostName in interface NetworkParamspublic String[] getDnsServers()
getDnsServers.
getDnsServers in interface NetworkParamsCopyright © 2010–2019 oshi. All rights reserved.