|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.wagon.providers.ssh.knownhost.AbstractKnownHostsProvider
org.apache.maven.wagon.providers.ssh.knownhost.StreamKnownHostsProvider
org.apache.maven.wagon.providers.ssh.knownhost.FileKnownHostsProvider
public class FileKnownHostsProvider
Provides known hosts from a file
Field Summary |
---|
Fields inherited from class org.apache.maven.wagon.providers.ssh.knownhost.AbstractKnownHostsProvider |
---|
contents, knownHosts |
Fields inherited from interface org.apache.maven.wagon.providers.ssh.knownhost.KnownHostsProvider |
---|
ROLE |
Constructor Summary | |
---|---|
FileKnownHostsProvider()
Creates a FileKnownHostsProvider using as file openssh knwon_host |
|
FileKnownHostsProvider(java.io.File file)
Creates the FileKnownHostsProvider. |
Method Summary | |
---|---|
java.io.File |
getFile()
|
void |
storeKnownHosts(java.lang.String contents)
|
Methods inherited from class org.apache.maven.wagon.providers.ssh.knownhost.StreamKnownHostsProvider |
---|
loadKnownHosts |
Methods inherited from class org.apache.maven.wagon.providers.ssh.knownhost.AbstractKnownHostsProvider |
---|
getContents, getHostKeyChecking, setHostKeyChecking |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileKnownHostsProvider(java.io.File file) throws java.io.IOException
file
- the file that holds the known hosts, in the openssh format
java.io.IOException
public FileKnownHostsProvider() throws java.io.IOException
java.io.IOException
FileKnownHostsProvider(File)
Method Detail |
---|
public void storeKnownHosts(java.lang.String contents) throws java.io.IOException
storeKnownHosts
in interface KnownHostsProvider
storeKnownHosts
in class AbstractKnownHostsProvider
java.io.IOException
public java.io.File getFile()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |