Package org.jppf.utils
Class HTMLPropertiesTableFormat
java.lang.Object
org.jppf.utils.PropertiesTableFormat
org.jppf.utils.HTMLPropertiesTableFormat
Implementation of a formatter that print the contents of a
Properties object as HTML.- Author:
- Laurent Cohen
-
Field Summary
Fields inherited from class org.jppf.utils.PropertiesTableFormat
docTitle, sb -
Constructor Summary
ConstructorsConstructorDescriptionHTMLPropertiesTableFormat(String docTitle) Initialize this formatter with the specified title.HTMLPropertiesTableFormat(String docTitle, boolean fullHtml) Initialize this formatter with the specified title. -
Method Summary
Modifier and TypeMethodDescriptionvoidcellEnd()Write the prologue of a table cell.voidWrite the separator between 2 cells.voidWrite the prologue of a table cell.voidend()Write the epilogue for the formatted text.formatName(String name) Format the specified property name if needed.voidrowEnd()Write the prologue of a table row.voidrowStart()Write the prologue of a table row.voidstart()Write the prologue for the formatted text.voidtableEnd()Write the prologue of a table.voidtableStart(String title) Write the prologue of a table.Methods inherited from class org.jppf.utils.PropertiesTableFormat
formatTable, getText, print
-
Constructor Details
-
HTMLPropertiesTableFormat
Initialize this formatter with the specified title.- Parameters:
docTitle- the title of the whole document.
-
HTMLPropertiesTableFormat
Initialize this formatter with the specified title.- Parameters:
docTitle- the title of the whole document.fullHtml- .
-
-
Method Details
-
start
public void start()Write the prologue for the formatted text.- Overrides:
startin classPropertiesTableFormat
-
end
public void end()Write the epilogue for the formatted text.- Overrides:
endin classPropertiesTableFormat
-
tableStart
Write the prologue of a table.- Overrides:
tableStartin classPropertiesTableFormat- Parameters:
title- the title for the table.
-
tableEnd
public void tableEnd()Write the prologue of a table.- Overrides:
tableEndin classPropertiesTableFormat
-
rowStart
public void rowStart()Write the prologue of a table row.- Overrides:
rowStartin classPropertiesTableFormat
-
rowEnd
public void rowEnd()Write the prologue of a table row.- Overrides:
rowEndin classPropertiesTableFormat
-
cellStart
public void cellStart()Write the prologue of a table cell.- Overrides:
cellStartin classPropertiesTableFormat
-
cellEnd
public void cellEnd()Write the prologue of a table cell.- Overrides:
cellEndin classPropertiesTableFormat
-
cellSeparator
public void cellSeparator()Write the separator between 2 cells.- Overrides:
cellSeparatorin classPropertiesTableFormat
-
formatName
Description copied from class:PropertiesTableFormatFormat the specified property name if needed.- Overrides:
formatNamein classPropertiesTableFormat- Parameters:
name- the name to format.- Returns:
- the formatted name as a string.
-