public class VWCrawler extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
VWCrawler.Builder |
| 构造器和说明 |
|---|
VWCrawler() |
public String getUrl()
public void setUrl(String url)
public int getTimeout()
public void setTimeout(int timeout)
public int getThreadCount()
public void setThreadCount(int threadCount)
public LinkedBlockingQueue<String> getWaitCrawlerUrls()
public void setWaitCrawlerUrls(LinkedBlockingQueue<String> waitCrawlerUrls)
public CrawlerService getCrawlerService()
public void setCrawlerService(CrawlerService crawlerService)
public ProxyBuilder.Type getProxyType()
public void setProxyType(ProxyBuilder.Type proxyType)
public Proxy getCurrentProxy()
public void setCurrentProxy(Proxy currentProxy)
public AbstractDownloader getDownloader()
public void setDownloader(AbstractDownloader downloader)
public void start()
public boolean isTargetUrl(String url)
Copyright © 2018. All rights reserved.