Package com.liferay.portal.kernel.util
Class InetAddressUtil
Object
com.liferay.portal.kernel.util.InetAddressUtil
- Author:
- Michael C. Han, Shuyang Zhou, Marta Medio
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic InetAddress
getInetAddressByName
(String domain) static String
static InetAddress
static InetAddress
static boolean
isLocalInetAddress
(InetAddress inetAddress)
-
Constructor Details
-
InetAddressUtil
public InetAddressUtil()
-
-
Method Details
-
getInetAddressByName
- Throws:
UnknownHostException
-
getLocalHostName
- Throws:
Exception
-
getLocalInetAddress
- Throws:
Exception
-
getLoopbackInetAddress
- Throws:
UnknownHostException
-
isLocalInetAddress
-