fc.net
Class NIC.NICInfo

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

public static class NIC.NICInfo
extends java.lang.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
 java.lang.String getInterfaceName()
          returns the name of the interface.
 java.lang.String getMACAddress()
          returns the MAC address of the interface
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getInterfaceName

public java.lang.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 java.lang.String getMACAddress()
returns the MAC address of the interface


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object