| java.lang.Object websphinx.RobotExclusion
RobotExclusion | public class RobotExclusion (Code) | | |
Constructor Summary | |
public | RobotExclusion(String userAgent) Make a RobotExclusion object.
Parameters: userAgent - name of the robot using this object, as shownin the User-Agent header fields of its HTTP requests. |
MAX_LINE_LENGTH | final static int MAX_LINE_LENGTH(Code) | | |
RobotExclusion | public RobotExclusion(String userAgent)(Code) | | Make a RobotExclusion object.
Parameters: userAgent - name of the robot using this object, as shownin the User-Agent header fields of its HTTP requests. Usenull for anonymous robots. |
clear | public void clear()(Code) | | Clear the cache of robots.txt entries.
|
disallowed | public boolean disallowed(URL url)(Code) | | Check whether a URL is disallowed by robots.txt.
Parameters: url - URL to test true if url's Web site denies robot access to the url |
|
|