public abstract class AbstractKnownHostsProvider extends Object implements KnownHostsProvider
Modifier and Type | Field and Description |
---|---|
protected String |
contents
the known hosts, in the openssh format
|
protected Set<KnownHostEntry> |
knownHosts |
ROLE
Constructor and Description |
---|
AbstractKnownHostsProvider() |
Modifier and Type | Method and Description |
---|---|
String |
getContents() |
String |
getHostKeyChecking() |
void |
setHostKeyChecking(String hostKeyChecking) |
void |
storeKnownHosts(String contents) |
protected Set<KnownHostEntry> knownHosts
public AbstractKnownHostsProvider()
public void setHostKeyChecking(String hostKeyChecking)
setHostKeyChecking
in interface KnownHostsProvider
public String getHostKeyChecking()
getHostKeyChecking
in interface KnownHostsProvider
public String getContents()
getContents
in interface KnownHostsProvider
public void storeKnownHosts(String contents) throws IOException
storeKnownHosts
in interface KnownHostsProvider
IOException
Copyright © 2003–2015 The Apache Software Foundation. All rights reserved.