java.net
Class NetworkInterface

java.lang.Object
  |
  +--java.net.NetworkInterface

public final synchronized class NetworkInterface
extends Object


Method Summary
 boolean equals(Object)
           
static NetworkInterface getByInetAddress(InetAddress)
           
static NetworkInterface getByName(String)
           
 String getDisplayName()
           
 Enumeration getInetAddresses()
           
 String getName()
           
static Enumeration getNetworkInterfaces()
           
 int hashCode()
           
 String toString()
          Returns the empty string.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait
 

Method Detail

getName

public String getName()

getInetAddresses

public Enumeration getInetAddresses()

getDisplayName

public String getDisplayName()

getByName

public static NetworkInterface getByName(String)
                                  throws SocketException
SocketException

getByInetAddress

public static NetworkInterface getByInetAddress(InetAddress)
                                         throws SocketException
SocketException

getNetworkInterfaces

public static Enumeration getNetworkInterfaces()
                                        throws SocketException
SocketException

equals

public boolean equals(Object)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Description copied from class: Object
Returns the empty string. It's here to satisfy javac.

Overrides:
toString in class Object