| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.apache.maven.wagon.providers.ssh.knownhost.AbstractKnownHostsProviderorg.apache.maven.wagon.providers.ssh.knownhost.StreamKnownHostsProviderorg.apache.maven.wagon.providers.ssh.knownhost.FileKnownHostsProviderpublic class FileKnownHostsProviderextends StreamKnownHostsProviderField Summary |
Fields inherited from class org.apache.maven.wagon.providers.ssh.knownhost.AbstractKnownHostsProvider | |
contents | |
Fields inherited from interface org.apache.maven.wagon.providers.ssh.knownhost.KnownHostsProvider | |
ROLE | |
Constructor Summary | |
| |
| |
Method Summary | |
File |
|
void |
|
Methods inherited from class org.apache.maven.wagon.providers.ssh.knownhost.AbstractKnownHostsProvider | |
getContents, getHostKeyChecking, setHostKeyChecking, storeKnownHosts | |
public FileKnownHostsProvider()
throws IOExceptionCreates a FileKnownHostsProvider using as file openssh knwon_host
- See Also:
FileKnownHostsProvider(File)
public FileKnownHostsProvider(File file)
throws IOExceptionCreates the FileKnownHostsProvider.
- Parameters:
file- the file that holds the known hosts, in the openssh format
public File getFile()
public void storeKnownHosts(String contents)
throws IOException
- Specified by:
- storeKnownHosts in interface KnownHostsProvider
- Overrides:
- storeKnownHosts in interface AbstractKnownHostsProvider