Package liquibase.util
Class NetUtil
java.lang.Object
liquibase.util.NetUtil
-
Method Details
-
getLocalHostAddress
- Returns:
- Machine's IP address
-
getLocalHostName
- Returns:
- Machine's host name. This method can be better to call than getting it off
getLocalHost()
because sometimes the external address returned by that function does not have a useful hostname attached to it. This function will make sure a good value is returned.
-