@Test public void testIsConnectable() throws Exception { }
@Override public void isConnectable() throws Exception { FTPClient ftpClient = new FTPClient(); ftpClient.connect(this.host, this.port); if (!ftpClient.login(this.user, this.password)){ throw new Exception("wrong user name or password"); } }
FtpDatasource extends Datasource { @Override public void isConnectable() throws Exception { FTPClient ftpClient = new FTPClient(); ftpClient.connect(this.host, this.port); if (!ftpClient.login(this.user, this.password)){ throw new Exception("wrong user name or password"); } } }
FtpDatasource extends Datasource { @Override public void isConnectable() throws Exception { FTPClient ftpClient = new FTPClient(); ftpClient.connect(this.host, this.port); if (!ftpClient.login(this.user, this.password)){ throw new Exception("wrong user name or password"); } }  }
FtpDatasource extends Datasource { @Override public void isConnectable() throws Exception { FTPClient ftpClient = new FTPClient(); ftpClient.connect(this.host, this.port); if (!ftpClient.login(this.user, this.password)){ throw new Exception("wrong user name or password"); } }  String getHost(); void setHost(String host); int getPort(); void setPort(int port); String getUser(); void setUser(String user); String getPassword(); void setPassword(String password); @Override void isConnectable(); }
FtpDatasource extends Datasource { @Override public void isConnectable() throws Exception { FTPClient ftpClient = new FTPClient(); ftpClient.connect(this.host, this.port); if (!ftpClient.login(this.user, this.password)){ throw new Exception("wrong user name or password"); } }  String getHost(); void setHost(String host); int getPort(); void setPort(int port); String getUser(); void setUser(String user); String getPassword(); void setPassword(String password); @Override void isConnectable();  }