Package info.bliki.wiki.impl

Examples of info.bliki.wiki.impl.DumpWikiModel


    public void process(WikiArticle page, Siteinfo siteinfo) throws SAXException {
      if (page.isMain() || page.isCategory() || page.isProject()) {
        String title = page.getTitle();
        String titleURL = Encoder.encodeTitleLocalUrl(title);
        String generatedHTMLFilename = htmlDirectory + titleURL + ".html";
        DumpWikiModel wikiModel = new DumpWikiModel(wikiDB, siteinfo, "${image}", "${title}", imageDirectory);
        DumpDocumentCreator creator = new DumpDocumentCreator(wikiModel, page);
        creator.setHeader(HTMLConstants.HTML_HEADER1 + HTMLConstants.CSS_SCREEN_STYLE + HTMLConstants.HTML_HEADER2);
        creator.setFooter(HTMLConstants.HTML_FOOTER);
        wikiModel.setUp();
        try {
          creator.renderToFile(generatedHTMLFilename);
          System.out.print('.');
          if (++counter >= 80) {
            System.out.println(' ');
View Full Code Here


        public void process(WikiArticle page, Siteinfo siteinfo) throws SAXException {
            if (page.isMain() || page.isCategory() || page.isProject()) {
                String title = page.getTitle();
                String titleURL = Encoder.encodeTitleLocalUrl(title);
                String generatedHTMLFilename = htmlDirectory + titleURL + ".html";
                DumpWikiModel wikiModel = new DumpWikiModel(wikiDB, siteinfo, "${image}", "${title}", imageDirectory);
                DumpDocumentCreator creator = new DumpDocumentCreator(wikiModel, page);
                creator.setHeader(HTMLConstants.HTML_HEADER1 + HTMLConstants.CSS_SCREEN_STYLE + HTMLConstants.HTML_HEADER2);
                creator.setFooter(HTMLConstants.HTML_FOOTER);
                wikiModel.setUp();
                try {
                    creator.renderToFile(generatedHTMLFilename);
                    System.out.print('.');
                    if (++counter >= 80) {
                        System.out.println(' ');
View Full Code Here

TOP

Related Classes of info.bliki.wiki.impl.DumpWikiModel

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.