java.net
Class NetworkInterface
java.lang.Object
|
+--java.net.NetworkInterface
- public final synchronized class NetworkInterface
- extends Object
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