public class NetInfo
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
NetInfo() |
Modifier and Type | Method and Description |
---|---|
void |
gather(Sigar sigar) |
java.lang.String |
getDefaultGateway()
Get the default_gateway.
|
java.lang.String |
getDefaultGatewayInterface()
Get the default_gateway_interface.
|
java.lang.String |
getDomainName()
Get the domain_name.
|
java.lang.String |
getHostName()
Get the host_name.
|
java.lang.String |
getPrimaryDns()
Get the primary_dns.
|
java.lang.String |
getSecondaryDns()
Get the secondary_dns.
|
java.util.Map |
toMap() |
java.lang.String |
toString() |
public void gather(Sigar sigar) throws SigarException
SigarException
public java.lang.String getDefaultGateway()
Supported Platforms: Undocumented.
public java.lang.String getDefaultGatewayInterface()
Supported Platforms: Undocumented.
public java.lang.String getHostName()
Supported Platforms: Undocumented.
public java.lang.String getDomainName()
Supported Platforms: Undocumented.
public java.lang.String getPrimaryDns()
Supported Platforms: Undocumented.
public java.lang.String getSecondaryDns()
Supported Platforms: Undocumented.
public java.util.Map toMap()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright ? 2004-2011 Hyperic. All Rights Reserved.