Package penny.parser

Examples of penny.parser.LinkExtractor


    private List<String> srcLinks;

    public LinkParser(Download download) throws URISyntaxException {
        this.download = download;
        parsingModel = Model.getApplicationSettings().getParsingModel();
        linkExtractor = new LinkExtractor(download.getUrl().toURI(), this);
        linkExtractor.setLinkState(download.getLinkState());
        hrefLinks = new ArrayList<String>();
        srcLinks = new ArrayList<String>();
    }
View Full Code Here


            }
        }
    }

    public void reset() throws URISyntaxException {
        linkExtractor = new LinkExtractor(download.getUrl().toURI(), this);
        download.setLinkState(linkExtractor.getLinkState());
        download.clearHrefLinks();
        download.clearSrcLinks();
    }
View Full Code Here

TOP

Related Classes of penny.parser.LinkExtractor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.