HostUtil
Date: 2013-01-10

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.ivy.util
Class HostUtil

    java.lang.Object
      org.apache.ivy.util.HostUtil

    public final class HostUtil

extends java.lang.Object

This class contains basic helper methods for the Host.

Method Summary
`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.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD