liquibase.util
Class NetUtil

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

public class NetUtil
extends java.lang.Object


Constructor Summary
NetUtil()
           
 
Method Summary
static java.net.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 java.net.InetAddress getLocalHost()
                                         throws java.net.UnknownHostException,
                                                java.net.SocketException
Smarter way to get localhost than InetAddress.getLocalHost. See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4665037

Throws:
java.net.UnknownHostException
java.net.SocketException


Copyright © 2010 Liquibase.org. All Rights Reserved.