|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.apache.manifoldcf.crawler.connectors.webcrawler.RobotsManager.RobotsData
protected static class RobotsManager.RobotsData
This is a cached data item.
| Field Summary | |
|---|---|
protected long |
expiration
|
protected java.util.ArrayList |
records
|
| Constructor Summary | |
|---|---|
RobotsManager.RobotsData(java.io.InputStream is,
long expiration,
java.lang.String hostName,
org.apache.manifoldcf.crawler.interfaces.IVersionActivity activities)
Constructor. |
|
| Method Summary | |
|---|---|
long |
getExpirationTime()
Get expiration |
boolean |
isFetchAllowed(java.lang.String userAgent,
java.lang.String pathString)
Check if fetch is allowed |
protected void |
parseRobotsTxt(java.io.BufferedReader r,
java.lang.String hostName,
org.apache.manifoldcf.crawler.interfaces.IVersionActivity activities)
Parse the robots.txt file using a reader. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected long expiration
protected java.util.ArrayList records
| Constructor Detail |
|---|
public RobotsManager.RobotsData(java.io.InputStream is,
long expiration,
java.lang.String hostName,
org.apache.manifoldcf.crawler.interfaces.IVersionActivity activities)
throws java.io.IOException,
org.apache.manifoldcf.core.interfaces.ManifoldCFException
java.io.IOException
org.apache.manifoldcf.core.interfaces.ManifoldCFException| Method Detail |
|---|
public boolean isFetchAllowed(java.lang.String userAgent,
java.lang.String pathString)
public long getExpirationTime()
protected void parseRobotsTxt(java.io.BufferedReader r,
java.lang.String hostName,
org.apache.manifoldcf.crawler.interfaces.IVersionActivity activities)
throws java.io.IOException,
org.apache.manifoldcf.core.interfaces.ManifoldCFException
java.io.IOException
org.apache.manifoldcf.core.interfaces.ManifoldCFException
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||