liquibase.util
Class NetUtil

java.lang.Object
  extended by liquibase.util.NetUtil

public class NetUtil
extends Object


Constructor Summary
NetUtil()
           
 
Method Summary
static InetAddress getLocalHost()
          Smarter way to get localhost than InetAddress.getLocalHost.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetUtil

public NetUtil()
Method Detail

getLocalHost

public static InetAddress getLocalHost()
                                throws UnknownHostException,
                                       SocketException
Smarter way to get localhost than InetAddress.getLocalHost. See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4665037

Throws:
UnknownHostException
SocketException


Copyright © 2012 Liquibase.org. All Rights Reserved.