Package oshi.software.os.unix.solaris
Class SolarisNetworkParams
- java.lang.Object
-
- oshi.software.common.AbstractNetworkParams
-
- oshi.software.os.unix.solaris.SolarisNetworkParams
-
- All Implemented Interfaces:
java.io.Serializable
,NetworkParams
public class SolarisNetworkParams extends AbstractNetworkParams
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SolarisNetworkParams()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getIpv4DefaultGateway()
java.lang.String
getIpv6DefaultGateway()
-
Methods inherited from class oshi.software.common.AbstractNetworkParams
getDnsServers, getDomainName, getHostName, searchGateway
-
-
-
-
Method Detail
-
getIpv4DefaultGateway
public java.lang.String getIpv4DefaultGateway()
- Returns:
- Gets default gateway(routing destination for 0.0.0.0/0) for IPv4, empty string if not defined.
-
getIpv6DefaultGateway
public java.lang.String getIpv6DefaultGateway()
- Returns:
- Gets default gateway(routing destination for ::/0) for IPv6, empty string if not defined.
-
-