public class MamacnPageProcessor extends Object implements PageProcessor
Constructor and Description |
---|
MamacnPageProcessor() |
Modifier and Type | Method and Description |
---|---|
Site |
getSite()
get the site settings
|
static void |
main(String[] args) |
void |
process(Page page)
process the page, extract urls to fetch, extract the data and store
|
public void process(Page page)
PageProcessor
process
in interface PageProcessor
page
- pagepublic Site getSite()
PageProcessor
getSite
in interface PageProcessor
Site
public static void main(String[] args) throws FileNotFoundException, UnsupportedEncodingException
Copyright © 2017. All rights reserved.