|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--spider.util.RobotExclusion
stores the robot permissions for various Web sites
Constructor Summary | |
RobotExclusion()
|
Method Summary | |
void |
add(java.lang.String server,
java.util.Vector perm)
add an entry to the robot exclusion hash (one entry per server) |
java.util.Vector |
get(java.lang.String server)
get an entry for a server (a vector of disallowed paths or parts of paths) |
int |
getMaxSize()
Returns the maxSize. |
static java.util.Vector |
getVector(java.lang.String content)
a static function that gives back the robot exclusion disallow vector for generic user agents given the content of a robots.txt fil |
static boolean |
isDisallowed(java.lang.String url,
java.util.Vector perm)
|
void |
setMaxSize(int maxSize)
Sets the maxSize. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RobotExclusion()
Method Detail |
public void add(java.lang.String server, java.util.Vector perm)
public java.util.Vector get(java.lang.String server)
public static java.util.Vector getVector(java.lang.String content)
public static boolean isDisallowed(java.lang.String url, java.util.Vector perm)
public int getMaxSize()
public void setMaxSize(int maxSize)
maxSize
- The maxSize to set
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |