Class DnsUtils


  • public abstract class DnsUtils
    extends java.lang.Object
    Author:
    Seth
    • Constructor Summary

      Constructors 
      Constructor Description
      DnsUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.net.InetAddress resolveHostname​(java.lang.String hostname)  
      static java.net.InetAddress resolveHostname​(java.lang.String hostname, boolean preferInet6Address)  
      static java.net.InetAddress resolveHostname​(java.lang.String hostname, boolean preferInet6Address, boolean throwException)
      This function is used inside XSLT documents, do a string search before refactoring.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DnsUtils

        public DnsUtils()
    • Method Detail

      • resolveHostname

        public static java.net.InetAddress resolveHostname​(java.lang.String hostname)
                                                    throws java.net.UnknownHostException
        Throws:
        java.net.UnknownHostException
      • resolveHostname

        public static java.net.InetAddress resolveHostname​(java.lang.String hostname,
                                                           boolean preferInet6Address)
                                                    throws java.net.UnknownHostException
        Throws:
        java.net.UnknownHostException
      • resolveHostname

        public static java.net.InetAddress resolveHostname​(java.lang.String hostname,
                                                           boolean preferInet6Address,
                                                           boolean throwException)
                                                    throws java.net.UnknownHostException
        This function is used inside XSLT documents, do a string search before refactoring.
        Throws:
        java.net.UnknownHostException