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 Protocol
public Configuration getConf()
Configuration
objectgetConf
in interface Configurable
public void setConf(Configuration arg0)
Configuration
objectsetConf
in interface Configurable
public crawlercommons.robots.BaseRobotRules getRobotRules(java.lang.String url, WebPage page)
Protocol
getRobotRules
in interface Protocol
url
- url to checkpublic java.util.Collection<WebPage.Field> getFields()
getFields
in interface FieldPluggable
Copyright © 2019 The Apache Software Foundation