public abstract class BaseRobotRules extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static long |
UNSET_CRAWL_DELAY |
Constructor and Description |
---|
BaseRobotRules() |
Modifier and Type | Method and Description |
---|---|
void |
addSitemap(String sitemap) |
boolean |
equals(Object obj) |
long |
getCrawlDelay() |
List<String> |
getSitemaps() |
int |
hashCode() |
abstract boolean |
isAllowAll() |
abstract boolean |
isAllowed(String url) |
abstract boolean |
isAllowNone() |
boolean |
isDeferVisits() |
void |
setCrawlDelay(long crawlDelay) |
void |
setDeferVisits(boolean deferVisits) |
public static final long UNSET_CRAWL_DELAY
public abstract boolean isAllowed(String url)
public abstract boolean isAllowAll()
public abstract boolean isAllowNone()
public long getCrawlDelay()
public void setCrawlDelay(long crawlDelay)
public boolean isDeferVisits()
public void setDeferVisits(boolean deferVisits)
public void addSitemap(String sitemap)
Copyright © 2009–2016 Crawler-Commons. All rights reserved.