Package info.bliki.wiki.filter

Examples of info.bliki.wiki.filter.PlainTextConverter


            APIWikiModel wikiModel = new APIWikiModel(user, db, "${image}", "${title}", null);
            DocumentCreator creator = new DocumentCreator(wikiModel, user, listOfTitleStrings);
            creator.setHeader("");
            creator.setFooter("");
            wikiModel.setUp();
            creator.renderToFile(new PlainTextConverter(true), generatedTXTFilename);
            // StringBuilder buffer = new StringBuilder();
            // creator.render(new PlainTextConverter(true), buffer);
            // System.out.println(buffer.toString());
        } catch (IOException e) {
            e.printStackTrace();
View Full Code Here


    public void actionPerformed(java.awt.event.ActionEvent event) {
      String strData = input.getText();
      WikiModel wikiModel = new WikiModel(Configuration.DEFAULT_CONFIGURATION, Locale.ENGLISH, "${image}", "${title}");
      wikiModel.setUp();
      try {
      String result = wikiModel.render(new PlainTextConverter(), strData);
      output.setText(result);
      } finally {
        wikiModel.tearDown();
      }
    }
View Full Code Here

TOP

Related Classes of info.bliki.wiki.filter.PlainTextConverter

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.