Class HostNameUtils


  • public class HostNameUtils
    extends java.lang.Object
    Provide the hostname of the machine on which the program is running.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getHostName()  
      • Methods inherited from class java.lang.Object

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

      • getHostName

        public static java.lang.String getHostName()
        Returns:
        the hostname of the machine as a String