Package org.apache.ivy.util
Class HostUtil
java.lang.Object
org.apache.ivy.util.HostUtil
This class contains basic helper methods for the Host.
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
This method returns the name of the current Host, if this name cannot be determined, localhost will be returned.
-
Method Details
-
getLocalHostName
This method returns the name of the current Host, if this name cannot be determined, localhost will be returned.- Returns:
- The name of the current "local" Host.
-