org.apache.maven.wagon.providers.ssh.knownhost
public class FileKnownHostsProvider extends StreamKnownHostsProvider
Since: Sep 12, 2005
Field Summary | |
---|---|
File | file |
Constructor Summary | |
---|---|
FileKnownHostsProvider(File file)
Creates the FileKnownHostsProvider.
| |
FileKnownHostsProvider()
Creates a FileKnownHostsProvider using as file openssh knwon_host
|
Method Summary | |
---|---|
File | getFile() |
void | storeKnownHosts(String contents) |
Parameters: file the file that holds the known hosts, in the openssh format
Throws: IOException
Throws: IOException
See Also: FileKnownHostsProvider