Package info.bliki.wiki.filter

Examples of info.bliki.wiki.filter.HTMLConverter


    fInitialized = false;
    return null;
  }

  public String render(String rawWikiText) {
    return render(new HTMLConverter(), rawWikiText);
  }
View Full Code Here


  /**
   * {@inheritDoc}
   */
  public String render(String rawWikiText, boolean templateTopic) {
    return render(new HTMLConverter(), rawWikiText, templateTopic);
  }
View Full Code Here

  /**
   * {@inheritDoc}
   */
  public String render(String rawWikiText) {
    return render(new HTMLConverter(), rawWikiText);
  }
View Full Code Here

   *          other wiki topics.
   * @throws IOException
   */
  public static void toHtml(String rawWikiText, Appendable resultBuffer, String imageBaseURL, String linkBaseURL)
      throws IOException {
    toText(new WikiModel(imageBaseURL, linkBaseURL), new HTMLConverter(), rawWikiText, resultBuffer, false, false);
  }
View Full Code Here

   * @param resultBuffer
   *          the buffer to which to append the resulting HTML code.
   * @throws IOException
   */
  public static void toHtml(String rawWikiText, Appendable resultBuffer) throws IOException {
    toText(new WikiModel("/${image}", "/${title}"), new HTMLConverter(), rawWikiText, resultBuffer, false, false);
  }
View Full Code Here

   *         <code>IOException</code> occured.
   */
  public static String toHtml(String rawWikiText) {
    try {
      StringBuilder resultBuffer = new StringBuilder(rawWikiText.length() + rawWikiText.length() / 10);
      toText(new WikiModel("/${image}", "/${title}"), new HTMLConverter(), rawWikiText, resultBuffer, false, false);
      return resultBuffer.toString();
    } catch (IOException e) {
    }
    return null;
  }
View Full Code Here

    fInitialized = false;
    return null;
  }

  public String render(String rawWikiText) {
    return render(new HTMLConverter(), rawWikiText);
  }
View Full Code Here

      // create header and CSS information
      creator.setHeader(HTMLConstants.HTML_HEADER1 + HTMLConstants.CSS_MAIN_STYLE + HTMLConstants.CSS_SCREEN_STYLE
          + HTMLConstants.HTML_HEADER2);
      creator.setFooter(HTMLConstants.HTML_FOOTER);
      wikiModel.setUp();
      creator.renderToFile(rawWikiText, title, new HTMLConverter(), generatedHTMLFilename);
      System.out.println("Created file: " + generatedHTMLFilename);
    } catch (IOException e) {
      e.printStackTrace();
    } catch (Exception e1) {
      e1.printStackTrace();
View Full Code Here

   *            links to other wiki topics.
   * @throws IOException
   */
  public static void toHtml(String rawWikiText, Appendable resultBuffer,
      String imageBaseURL, String linkBaseURL) throws IOException {
    toText(new WikiModel(imageBaseURL, linkBaseURL), new HTMLConverter(),
        rawWikiText, resultBuffer, false, false);
  }
View Full Code Here

   *            the buffer to which to append the resulting HTML code.
   * @throws IOException
   */
  public static void toHtml(String rawWikiText, Appendable resultBuffer)
      throws IOException {
    toText(new WikiModel("/${image}", "/${title}"), new HTMLConverter(),
        rawWikiText, resultBuffer, false, false);
  }
View Full Code Here

TOP

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

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.