public static class FTPClient.NatServerResolverImpl extends Object implements FTPClient.HostnameResolver
| Constructor and Description |
|---|
NatServerResolverImpl(FTPClient client)
Constructs a new instance.
|
public NatServerResolverImpl(FTPClient client)
client - the FTP client.public String resolve(String hostname) throws UnknownHostException
FTPClient.HostnameResolverresolve in interface FTPClient.HostnameResolverhostname - the hostname to resolve.UnknownHostException - if the host is unknown.