Class HostNameUtils


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

      • getHostName

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