Package cn.edu.hfut.dmic.webcollector.parser

Examples of cn.edu.hfut.dmic.webcollector.parser.HtmlParser


    public Parser createParser(String url, String contentType) throws Exception {
        if (contentType == null) {
            return null;
        }
        if (contentType.contains("text/html")) {
            return new HtmlParser(Config.topN);
        }
        return null;
    }
View Full Code Here

TOP

Related Classes of cn.edu.hfut.dmic.webcollector.parser.HtmlParser

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.