|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CocoonCrawler
The avalon behavioural component interface of crawling.
Field Summary | |
---|---|
static String |
ROLE
Role name of this avalon component. |
Method Summary | |
---|---|
void |
crawl(URL url)
This is the same as calling crawl(url,-1); |
void |
crawl(URL url,
int maxDepth)
start crawling the URL. |
Iterator |
iterator()
Iterate over crawling URLs. |
Field Detail |
---|
static final String ROLE
org.apache.cocoon.components.crawler.CocoonCrawler
.
Method Detail |
---|
void crawl(URL url)
url
- The URL to start crawling from.void crawl(URL url, int maxDepth)
Calling this method initiates the crawling and tells the crawler not to crawl beyond a maximum depth.
url
- The URL to start crawling frommaxDepth
- The maximum depth to crawl to. -1 for no maxiumum.Iterator iterator()
This iterator will returns URL as result of crawling the base URL passed via crawling().
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |