Class HtmlExportGenerator
- java.lang.Object
-
- org.silverpeas.core.importexport.report.HtmlExportGenerator
-
public class HtmlExportGenerator extends Object
HTML summary export generator- Author:
- sdevolder
-
-
Constructor Summary
Constructors Constructor Description HtmlExportGenerator(ExportReport exportReport, String fileExportDir)
HtmlExportGenerator(ExportReport exportReport, String fileExportDir, LocalizationBundle messages)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static String
encode(String javastring)
String
getEndOfPage()
static String
getHtmlStyle()
String
indexToHTML(String fileName, Set<String> topicIds, List<NodeTreeType> nodeTrees, String rootId)
String
kmaxAxisToHTML(List<NodeDetail> axis, String language)
Specific KmaxString
kmaxPublicationsToHTML(List<String> combinationLabels, String timeCriteria, String iframe)
String
toHTML()
String
toHTML(String fileName)
String
toHTML(String fileName, Collection<String> pubIds)
String
toHtmlPublicationsByPositionStart()
String
toHtmlPublicationsNumber(String positionPathName)
-
-
-
Constructor Detail
-
HtmlExportGenerator
public HtmlExportGenerator(ExportReport exportReport, String fileExportDir)
-
HtmlExportGenerator
public HtmlExportGenerator(ExportReport exportReport, String fileExportDir, LocalizationBundle messages)
-
-
Method Detail
-
getHtmlStyle
public static String getHtmlStyle()
-
toHTML
public String toHTML()
- Returns:
-
toHTML
public String toHTML(String fileName, Collection<String> pubIds)
- Parameters:
fileName
- the file export directory namepubIds
- a list of publication identifier- Returns:
-
indexToHTML
public String indexToHTML(String fileName, Set<String> topicIds, List<NodeTreeType> nodeTrees, String rootId)
-
kmaxAxisToHTML
public String kmaxAxisToHTML(List<NodeDetail> axis, String language)
Specific Kmax- Parameters:
axis
-language
-- Returns:
-
kmaxPublicationsToHTML
public String kmaxPublicationsToHTML(List<String> combinationLabels, String timeCriteria, String iframe)
- Parameters:
combinationLabels
-timeCriteria
-iframe
-- Returns:
-
toHtmlPublicationsByPositionStart
public String toHtmlPublicationsByPositionStart()
-
getEndOfPage
public String getEndOfPage()
-
-