Interface FTPClient.HostnameResolver

  • All Known Implementing Classes:
    FTPClient.NatServerResolverImpl
    Enclosing class:
    FTPClient

    public static interface FTPClient.HostnameResolver
    Strategy interface for updating host names received from FTP server for passive NAT workaround.
    Since:
    3.6
    • Method Detail

      • resolve

        java.lang.String resolve​(java.lang.String hostname)
                          throws java.net.UnknownHostException
        Throws:
        java.net.UnknownHostException