public abstract class AbstractScraper extends Object implements Scraper
| Modifier and Type | Field and Description |
|---|---|
protected static String |
baseUrl |
protected InputManager |
inputManager |
protected static org.slf4j.Logger |
log |
protected OutputManager |
outputManager |
protected Map<String,String> |
params |
protected static URLUtil.QueryMethod |
queryMethod |
protected static String |
queryParamKey |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractScraper() |
| Modifier and Type | Method and Description |
|---|---|
void |
run() |
void |
setInputManager(InputManager iManager) |
void |
setOutputManager(OutputManager oManager) |
protected static final org.slf4j.Logger log
protected InputManager inputManager
protected OutputManager outputManager
protected static String queryParamKey
protected static String baseUrl
protected static URLUtil.QueryMethod queryMethod
public void setInputManager(InputManager iManager)
setInputManager in interface Scraperpublic void setOutputManager(OutputManager oManager)
setOutputManager in interface ScraperCopyright © 2016. All rights reserved.