
public class CrawlerManager extends Object
| Constructor and Description |
|---|
CrawlerManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
addParser(GenericParser parser) |
void |
parseTenderMarket(GenericParser parser)
Get list of tenders and download it from tender market when parsing fail
tender is saved into fail directory for later offline parsing
|
void |
run() |
void |
runOffline()
Parse tender saved in fail directory
|
void |
saveContent(File directory,
String url)
Save tender content into directory
|
public void addParser(GenericParser parser)
public void runOffline()
throws ParserConfigurationException,
SAXException,
Exception
public void run()
throws IOException
IOExceptionpublic void parseTenderMarket(GenericParser parser) throws IOException
parser - IOExceptionCopyright © 2013. All Rights Reserved.