com.liferay.portal.kernel.util
Class InetAddressUtil

java.lang.Object
  extended by com.liferay.portal.kernel.util.InetAddressUtil

public class InetAddressUtil
extends java.lang.Object

Author:
Michael C. Han, Shuyang Zhou

Constructor Summary
InetAddressUtil()
           
 
Method Summary
static java.lang.String getLocalHostName()
           
static java.net.InetAddress getLocalInetAddress()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InetAddressUtil

public InetAddressUtil()
Method Detail

getLocalHostName

public static java.lang.String getLocalHostName()
                                         throws java.lang.Exception
Throws:
java.lang.Exception

getLocalInetAddress

public static java.net.InetAddress getLocalInetAddress()
                                                throws java.lang.Exception
Throws:
java.lang.Exception