public class

HtmlFormatter

extends Object
java.lang.Object
   ↳ com.pnfsoftware.jeb.util.format.HtmlFormatter

Class Overview

Collection of methods to work on and generate HTML documents.

Summary

Public Constructors
HtmlFormatter()
Public Methods
static 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)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public HtmlFormatter ()

Public Methods

public static CharSequence generate (CharSequence title, CharSequence cssdata, CharSequence body, boolean copyright)

Generate a well formatted HTML output.

Parameters
title HTML title
cssdata CSS code to be included in style tags.
body HTML Body
copyright true to include JEB Copyright notice
Returns
  • HTML output, as CharSequence

public static CharSequence generate (CharSequence title, CharSequence cssdata, CharSequence body, CharSequence comment)