public class NetworkInterface
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
NetworkInterface() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getGateway() |
java.lang.String |
getId() |
java.lang.String |
getIpv4() |
java.lang.String |
getIpv6() |
java.lang.String |
getMac() |
java.lang.String |
getName() |
java.lang.String |
getNetmask() |
java.lang.String |
getNetwork() |
protected void |
setGateway(java.lang.String gateway) |
protected void |
setId(java.lang.String id) |
protected void |
setIpv4(java.lang.String ipv4) |
protected void |
setIpv6(java.lang.String ipv6) |
protected void |
setMac(java.lang.String mac) |
protected void |
setName(java.lang.String name) |
protected void |
setNetmask(java.lang.String netmask) |
protected void |
setNetwork(java.lang.String network) |
public java.lang.String getIpv4()
public java.lang.String getIpv6()
public java.lang.String getName()
public java.lang.String getMac()
public java.lang.String getId()
public java.lang.String getGateway()
public java.lang.String getNetwork()
public java.lang.String getNetmask()
protected void setIpv4(java.lang.String ipv4)
ipv4
- The IPv4 addressprotected void setIpv6(java.lang.String ipv6)
ipv6
- The IPv6 addressprotected void setName(java.lang.String name)
name
- The nameprotected void setMac(java.lang.String mac)
mac
- The MAC addressprotected void setId(java.lang.String id)
id
- The Id of network interfaceprotected void setGateway(java.lang.String gateway)
gateway
- The network gatewayprotected void setNetwork(java.lang.String network)
network
- The networkprotected void setNetmask(java.lang.String netmask)
netmask
- The network mask