| org.apache.cocoon.components.crawler.CocoonCrawler
All known Subclasses: org.apache.cocoon.components.crawler.SimpleCocoonCrawlerImpl,
CocoonCrawler | public interface CocoonCrawler extends Component(Code) | | The avalon behavioural component interface of crawling.
author: Bernhard Huber version: CVS $Id: CocoonCrawler.java 433543 2006-08-22 06:22:54Z crossley $ |
Field Summary | |
String | ROLE Role name of this avalon component. |
Method Summary | |
void | crawl(URL url) | void | crawl(URL url, int maxDepth) start crawling the URL.
Calling this method initiates the crawling and tells the
crawler not to crawl beyond a maximum depth.
Parameters: url - The URL to start crawling from Parameters: maxDepth - The maximum depth to crawl to. | Iterator | iterator() Iterate over crawling URLs. |
ROLE | String ROLE(Code) | | Role name of this avalon component.
Its value is org.apache.cocoon.components.crawler.CocoonCrawler .
|
crawl | void crawl(URL url)(Code) | | This is the same as calling crawl(url,-1);
Parameters: url - The URL to start crawling from. |
crawl | void crawl(URL url, int maxDepth)(Code) | | start crawling the URL.
Calling this method initiates the crawling and tells the
crawler not to crawl beyond a maximum depth.
Parameters: url - The URL to start crawling from Parameters: maxDepth - The maximum depth to crawl to. -1 for no maxiumum. |
iterator | Iterator iterator()(Code) | | Iterate over crawling URLs.
This iterator will returns URL as result of crawling
the base URL passed via crawling().
Iterator iterates over crawling URLs. |
|
|