@Test public void testSetKnownHostsFile() throws Exception { StandardSftpConnection conn = new StandardSftpConnection(); assertNull(conn.getKnownHostsFile()); conn.setKnownHostsFile("abc"); assertEquals("abc", conn.getKnownHostsFile()); }
public void setKnownHostsFile(String k) { knownHostsFile = k; }
StandardSftpConnection extends FileTransferConnection { public void setKnownHostsFile(String k) { knownHostsFile = k; } }
StandardSftpConnection extends FileTransferConnection { public void setKnownHostsFile(String k) { knownHostsFile = k; } StandardSftpConnection();  StandardSftpConnection(ConfigBuilder config, SftpAuthenticationProvider prov); }
StandardSftpConnection extends FileTransferConnection { public void setKnownHostsFile(String k) { knownHostsFile = k; } StandardSftpConnection();  StandardSftpConnection(ConfigBuilder config, SftpAuthenticationProvider prov); TimeInterval getSocketTimeout(); void setSocketTimeout(TimeInterval t); String getKnownHostsFile(); void setKnownHostsFile(String k); @Override int defaultControlPort(); ConfigBuilder getConfiguration(); void setConfiguration(ConfigBuilder repo); SftpAuthenticationProvider getAuthentication(); void setAuthentication(SftpAuthenticationProvider p); }
StandardSftpConnection extends FileTransferConnection { public void setKnownHostsFile(String k) { knownHostsFile = k; } StandardSftpConnection();  StandardSftpConnection(ConfigBuilder config, SftpAuthenticationProvider prov); TimeInterval getSocketTimeout(); void setSocketTimeout(TimeInterval t); String getKnownHostsFile(); void setKnownHostsFile(String k); @Override int defaultControlPort(); ConfigBuilder getConfiguration(); void setConfiguration(ConfigBuilder repo); SftpAuthenticationProvider getAuthentication(); void setAuthentication(SftpAuthenticationProvider p);  }