Package org.sweble.wikitext.engine.nodes

Examples of org.sweble.wikitext.engine.nodes.EngProcessedPage


    }

    private String getPageText(String wikitext, String wikipediaPageVertexId, TextConverter textConverter) throws LinkTargetException, EngineException {
        String fileTitle = wikipediaPageVertexId;
        PageId pageId = new PageId(PageTitle.make(config, fileTitle), -1);
        EngProcessedPage compiledPage = compiler.postprocess(pageId, wikitext, null);
        String text = (String) textConverter.go(compiledPage.getPage());
        if (text.length() > 0) {
            wikitext = text;
        }
        return wikitext;
    }
View Full Code Here

TOP

Related Classes of org.sweble.wikitext.engine.nodes.EngProcessedPage

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.