com.aelitis.azureus.core.util
Class NetUtils
java.lang.Object
  
com.aelitis.azureus.core.util.NetUtils
public class NetUtils
- extends Object
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
NetUtils
public NetUtils()
getNetworkInterfaces
public static List<NetworkInterface> getNetworkInterfaces()
                                                   throws SocketException
- Throws:
 SocketException
 
getLocalHost
public static InetAddress getLocalHost()
                                throws UnknownHostException
- Throws:
 UnknownHostException
 
getByName
public static NetworkInterface getByName(String name)
                                  throws SocketException
- Throws:
 SocketException
 
getByInetAddress
public static NetworkInterface getByInetAddress(InetAddress addr)
                                         throws SocketException
- Throws:
 SocketException