fc.net
Class NIC.NICInfo

java.lang.Object
  extended by fc.net.NIC.NICInfo
Enclosing class:
NIC

public static class NIC.NICInfo
extends Object

Contains information about IP addresses and the associated interface names and MAC address. More than one IP address can be associated with the same interface.


Method Summary
 String getInterfaceName()
          returns the name of the interface.
 String getMACAddress()
          returns the MAC address of the interface
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getInterfaceName

public String getInterfaceName()
returns the name of the interface. This name may not be the same as the name returned by NetworkInterface.getName() (especially on windows).


getMACAddress

public String getMACAddress()
returns the MAC address of the interface


toString

public String toString()
Overrides:
toString in class Object