com.thinkaurelius.titan.util.system

## Class NetworkUtil

- java.lang.Object
- - com.thinkaurelius.titan.util.system.NetworkUtil

-     public class NetworkUtil
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `NetworkUtil()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static String` | `getLocalAddress()`
    `static InetAddress` | `getLocalHost()`
    `static String` | `getLocalHostName()`
    `static String` | `getLoopbackAddress()`
    `static boolean` | `hasLocalAddress(Collection<String> endpoints)`
    `static boolean` | `isLocalConnection(String hostname)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### NetworkUtil

          public NetworkUtil()

  - ### Method Detail

    - #### getLoopbackAddress

          public static String getLoopbackAddress()

    - #### getLocalHost

          public static InetAddress getLocalHost()

    - #### getLocalAddress

          public static String getLocalAddress()

    - #### getLocalHostName

          public static String getLocalHostName()

    - #### hasLocalAddress

          public static boolean hasLocalAddress(Collection<String> endpoints)

    - #### isLocalConnection

          public static boolean isLocalConnection(String hostname)

Copyright © 2012–2014. All rights reserved.