Class RobotsTxt
java.lang.Object
com.norconex.crawler.web.doc.operations.robot.RobotsTxt
Immutable holder of robots.txt rules.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic RobotsTxt.RobotsTxtBuilderbuilder()protected booleanbooleanGets "Allow" filters.floatGets "Disallow" filters.inthashCode()booleanisEmpty()toString()
-
Field Details
-
UNSPECIFIED_CRAWL_DELAY
public static final float UNSPECIFIED_CRAWL_DELAY- See Also:
-
-
Method Details
-
getDisallowFilters
Gets "Disallow" filters.- Returns:
- disallow filters (never
null) - Since:
- 2.4.0
-
getAllowFilters
Gets "Allow" filters.- Returns:
- allow filters (never
null) - Since:
- 2.4.0
-
getSitemapLocations
-
getCrawlDelay
public float getCrawlDelay() -
isEmpty
public boolean isEmpty() -
builder
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-