Package org.jppf.utils
Class TextPropertiesTableFormat
java.lang.Object
org.jppf.utils.PropertiesTableFormat
org.jppf.utils.TextPropertiesTableFormat
Formatter that print the contents of a
Properties object as a plain-text string.- Author:
- Laurent Cohen
-
Field Summary
Fields inherited from class org.jppf.utils.PropertiesTableFormat
docTitle, sb -
Constructor Summary
ConstructorsConstructorDescriptionTextPropertiesTableFormat(String docTitle) Initialize this formatter with the specified title. -
Method Summary
Modifier and TypeMethodDescriptionvoidWrite the separator between 2 cells.voidrowEnd()Write the prologue of a table row.voidstart()Write the prologue for the formatted text.voidtableStart(String title) Write the prologue of a table.Methods inherited from class org.jppf.utils.PropertiesTableFormat
cellEnd, cellStart, end, formatName, formatTable, getText, print, rowStart, tableEnd
-
Constructor Details
-
TextPropertiesTableFormat
Initialize this formatter with the specified title.- Parameters:
docTitle- the title of the whole document.
-
-
Method Details
-
start
public void start()Write the prologue for the formatted text.- Overrides:
startin classPropertiesTableFormat
-
tableStart
Write the prologue of a table.- Overrides:
tableStartin classPropertiesTableFormat- Parameters:
title- the title for the table.
-
rowEnd
public void rowEnd()Write the prologue of a table row.- Overrides:
rowEndin classPropertiesTableFormat
-
cellSeparator
public void cellSeparator()Write the separator between 2 cells.- Overrides:
cellSeparatorin classPropertiesTableFormat
-