public class SimpleJsSiteCrawl extends SampleCrawler
| Modifier and Type | Field and Description |
|---|---|
static int |
NUMBER_OF_EDGES |
static int |
NUMBER_OF_STATES |
| Constructor and Description |
|---|
SimpleJsSiteCrawl() |
| Modifier and Type | Method and Description |
|---|---|
void |
setup()
Starts the webserver, configures crawljax.
|
crawl, getConfig, getCrawlSpec, getWebServer, showWebSitepublic static final int NUMBER_OF_STATES
public static final int NUMBER_OF_EDGES
public void setup()
throws Exception
SampleCrawlerSampleCrawler.crawl(). After this method completes, you can configure the
CrawlSpecification and the CrawljaxConfiguration using SampleCrawler.getConfig()
and SampleCrawler.getCrawlSpec().
The CrawlSpecification is configured with
CrawlSpecification.clickDefaultElements().
setup in class SampleCrawlerException - When the webserver fails to start.Copyright © 2012. All Rights Reserved.