public class

HtmlExporter

extends AbstractRendererExporterImpl
java.lang.Object
   ↳ com.atlassian.confluence.importexport.Exporter
     ↳ com.atlassian.confluence.importexport.impl.AbstractExporterImpl
       ↳ com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl
         ↳ com.atlassian.confluence.importexport.impl.HtmlExporter

Summary

[Expand]
Inherited Fields
From class com.atlassian.confluence.importexport.Exporter
Public Constructors
HtmlExporter()
Public Methods
String doExport(ProgressMeter progress)
Exports the content specified by the configured ExportContext.
Protected Methods
void doExportEntity(ConfluenceEntityObject entity, String exportPath)
void exportPage(Page page, String baseExportPath)
Export page exports either a single page or, if context.exportChildren is set, the whole page hierarchy.
void exportSpace(Space space, String baseExportPath)
ExportLinkFormatter getExportLinkFormatter()
Returns the ExportLinkFormatter for the exporter.
String getFullExportPath(String baseExportPath, ConfluenceEntityObject entity)
This implementation should be extracted to a specific ExportFileNameGenerator implementation.
ImageProcessingRule getImageProcessingRule(String exportDir)
Returns a new ImageProcessingRule for each export.
[Expand]
Inherited Methods
From class com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl
From class com.atlassian.confluence.importexport.impl.AbstractExporterImpl
From class com.atlassian.confluence.importexport.Exporter
From class java.lang.Object

Public Constructors

public HtmlExporter ()

Public Methods

public String doExport (ProgressMeter progress)

Exports the content specified by the configured ExportContext.

Parameters
progress the meter to update with progress during the export.
Returns
  • the path to the exported content.

Protected Methods

protected void doExportEntity (ConfluenceEntityObject entity, String exportPath)

protected void exportPage (Page page, String baseExportPath)

Export page exports either a single page or, if context.exportChildren is set, the whole page hierarchy.

protected void exportSpace (Space space, String baseExportPath)

protected ExportLinkFormatter getExportLinkFormatter ()

Returns the ExportLinkFormatter for the exporter.

protected String getFullExportPath (String baseExportPath, ConfluenceEntityObject entity)

This implementation should be extracted to a specific ExportFileNameGenerator implementation. However this code is up for refactoring (probably making a plugin) soon so leave it for the moment.

protected ImageProcessingRule getImageProcessingRule (String exportDir)

Returns a new ImageProcessingRule for each export.