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, wait
getIpv4DefaultGateway, getIpv6DefaultGateway
public String getDomainName()
getDomainName
in interface NetworkParams
public String getHostName()
getHostName
in interface NetworkParams
public String[] getDnsServers()
getDnsServers
in interface NetworkParams
Copyright © 2010–2021 oshi. All rights reserved.