Package org.codelibs.fess.job
Class HtmlIndexExportFormatter
java.lang.Object
org.codelibs.fess.job.HtmlIndexExportFormatter
- All Implemented Interfaces:
IndexExportFormatter
Formatter that outputs index documents as HTML files.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionFormats a document source map into the target format string.Returns the file extension for this format (e.g.Returns the default index file name for this format (e.g.
-
Constructor Details
-
HtmlIndexExportFormatter
public HtmlIndexExportFormatter()Creates a new HtmlIndexExportFormatter instance.
-
-
Method Details
-
getFileExtension
Description copied from interface:IndexExportFormatterReturns the file extension for this format (e.g. ".html", ".json").- Specified by:
getFileExtensionin interfaceIndexExportFormatter- Returns:
- the file extension including the leading dot
-
getIndexFileName
Description copied from interface:IndexExportFormatterReturns the default index file name for this format (e.g. "index.html", "index.json").- Specified by:
getIndexFileNamein interfaceIndexExportFormatter- Returns:
- the index file name
-
format
Description copied from interface:IndexExportFormatterFormats a document source map into the target format string.- Specified by:
formatin interfaceIndexExportFormatter- Parameters:
source- the document source mapexcludeFields- the set of field names to exclude from output- Returns:
- the formatted string
-