Interface HostNameResolver


  • @Deprecated
    public interface HostNameResolver
    Deprecated.
    (4.1) Do not use
    Hostname to IP address resolver.
    Since:
    4.0
    • Method Detail

      • resolve

        java.net.InetAddress resolve​(java.lang.String hostname)
                              throws java.io.IOException
        Deprecated.
        Resolves given hostname to its IP address
        Parameters:
        hostname - the hostname.
        Returns:
        IP address.
        Throws:
        java.io.IOException