public class Sftp extends java.lang.Object implements Protocol
CHECK_BLOCKING, CHECK_ROBOTS, X_POINT_ID| Constructor and Description |
|---|
Sftp() |
| Modifier and Type | Method and Description |
|---|---|
Configuration |
getConf()
Get the
Configuration object |
java.util.Collection<WebPage.Field> |
getFields() |
ProtocolOutput |
getProtocolOutput(java.lang.String url,
WebPage page) |
crawlercommons.robots.BaseRobotRules |
getRobotRules(java.lang.String url,
WebPage page)
Retrieve robot rules applicable for this url.
|
void |
setConf(Configuration arg0)
Set the
Configuration object |
public ProtocolOutput getProtocolOutput(java.lang.String url, WebPage page)
getProtocolOutput in interface Protocolpublic Configuration getConf()
Configuration objectgetConf in interface Configurablepublic void setConf(Configuration arg0)
Configuration objectsetConf in interface Configurablepublic crawlercommons.robots.BaseRobotRules getRobotRules(java.lang.String url,
WebPage page)
ProtocolgetRobotRules in interface Protocolurl - url to checkpublic java.util.Collection<WebPage.Field> getFields()
getFields in interface FieldPluggableCopyright © 2019 The Apache Software Foundation