Package com.pnfsoftware.jeb.util.format
Class HtmlFormatter
java.lang.Object
com.pnfsoftware.jeb.util.format.HtmlFormatter
Collection of methods to work on and generate HTML documents.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CharSequence
generate
(CharSequence title, CharSequence cssdata, CharSequence body, boolean copyright) Generate a well formatted HTML output.static CharSequence
generate
(CharSequence title, CharSequence cssdata, CharSequence body, CharSequence comment)
-
Constructor Details
-
HtmlFormatter
public HtmlFormatter()
-
-
Method Details
-
generate
public static CharSequence generate(CharSequence title, CharSequence cssdata, CharSequence body, boolean copyright) Generate a well formatted HTML output.- Parameters:
title
- HTML titlecssdata
- CSS code to be included in style tags.body
- HTML Bodycopyright
- true to include JEB Copyright notice- Returns:
- HTML output, as
CharSequence
-
generate
public static CharSequence generate(CharSequence title, CharSequence cssdata, CharSequence body, CharSequence comment)
-