org.alfresco.util
Class IPUtils

java.lang.Object
  extended by org.alfresco.util.IPUtils

public class IPUtils
extends java.lang.Object


Constructor Summary
IPUtils()
           
 
Method Summary
static java.lang.String getRealIPAddress(java.lang.String ipAddress)
          Returns the "real" IP address represented by ipAddress.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IPUtils

public IPUtils()
Method Detail

getRealIPAddress

public static java.lang.String getRealIPAddress(java.lang.String ipAddress)
                                         throws java.net.UnknownHostException
Returns the "real" IP address represented by ipAddress. If ipAddress is a loopback address it is converted into the host's underlying IP address

Parameters:
ipAddress -
Returns:
Throws:
java.net.UnknownHostException


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.