Class HostUtil


  • public final class HostUtil
    extends java.lang.Object
    This class contains basic helper methods for the Host.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getLocalHostName()
      This method returns the name of the current Host, if this name cannot be determined, localhost will be returned.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getLocalHostName

        public static java.lang.String 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.