com.aelitis.azureus.core.util
Class NetUtils

java.lang.Object
  extended by com.aelitis.azureus.core.util.NetUtils

public class NetUtils
extends java.lang.Object


Constructor Summary
NetUtils()
           
 
Method Summary
static java.net.InetAddress getLocalHost()
           
static java.util.List<java.net.NetworkInterface> getNetworkInterfaces()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetUtils

public NetUtils()
Method Detail

getNetworkInterfaces

public static java.util.List<java.net.NetworkInterface> getNetworkInterfaces()
                                                                      throws java.net.SocketException
Throws:
java.net.SocketException

getLocalHost

public static java.net.InetAddress getLocalHost()
                                         throws java.net.UnknownHostException
Throws:
java.net.UnknownHostException