Class HtmlExporter
java.lang.Object
com.atlassian.confluence.importexport.Exporter
com.atlassian.confluence.impl.importexport.AbstractExporterImpl
com.atlassian.confluence.impl.importexport.AbstractRendererExporterImpl
com.atlassian.confluence.impl.importexport.HtmlExporter
- Since:
- 7.14
-
Nested Class Summary
Nested classes/interfaces inherited from class com.atlassian.confluence.impl.importexport.AbstractRendererExporterImpl
AbstractRendererExporterImpl.ContentConverter
-
Field Summary
Fields inherited from class com.atlassian.confluence.impl.importexport.AbstractExporterImpl
i18nBeanFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondoExport
(com.atlassian.core.util.ProgressMeter progress) Exports the content specified by the configuredExportContext
.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
Returns theExportLinkFormatter
for the exporter.protected String
getFullExportPath
(String baseExportPath, ConfluenceEntityObject entity) protected ImageProcessingRule
getImageProcessingRule
(String exportDir) Returns a newImageProcessingRule
for each export.void
setAttachmentManager
(AttachmentManager attachmentManager) Methods inherited from class com.atlassian.confluence.impl.importexport.AbstractRendererExporterImpl
createTemplateSupport, ensurePathExists, exportImages, exportResource, getTransformerFactory, getWorkingExportContext, setDownloadResourceManager, setFormatSettingsManager, setLocaleManager, setSettingsManager, setThemeManager, setTransformerFactory, setUserPreferencesAccessor, setXhtmlRenderer
Methods inherited from class com.atlassian.confluence.impl.importexport.AbstractExporterImpl
checkHaveSomethingToExport, createAndSetExportDirectory, createExportDirectory, ensureDirectoryCreated, getSpaceKeyForExportFileName, prepareExportFileName, setExportFileNameGenerator, setI18NBeanFactory
Methods inherited from class com.atlassian.confluence.importexport.Exporter
getContext, setContext
-
Constructor Details
-
HtmlExporter
public HtmlExporter()
-
-
Method Details
-
doExport
Description copied from class:Exporter
Exports the content specified by the configuredExportContext
.- Overrides:
doExport
in classAbstractRendererExporterImpl
- Parameters:
progress
- the meter to update with progress during the export.- Returns:
- the path to the exported content.
- Throws:
ImportExportException
- if it fails for any reason.
-
exportPage
Export page exports either a single page or, if context.exportChildren is set, the whole page hierarchy.- Overrides:
exportPage
in classAbstractRendererExporterImpl
- Throws:
ImportExportException
-
exportSpace
- Overrides:
exportSpace
in classAbstractRendererExporterImpl
- Throws:
ImportExportException
-
getImageProcessingRule
Description copied from class:AbstractRendererExporterImpl
Returns a newImageProcessingRule
for each export.- Specified by:
getImageProcessingRule
in classAbstractRendererExporterImpl
-
getExportLinkFormatter
Description copied from class:AbstractRendererExporterImpl
Returns theExportLinkFormatter
for the exporter.- Specified by:
getExportLinkFormatter
in classAbstractRendererExporterImpl
-
getFullExportPath
protected String getFullExportPath(String baseExportPath, ConfluenceEntityObject entity) throws ImportExportException - Specified by:
getFullExportPath
in classAbstractRendererExporterImpl
- Throws:
ImportExportException
-
doExportEntity
protected void doExportEntity(ConfluenceEntityObject entity, String exportPath) throws ImportExportException - Specified by:
doExportEntity
in classAbstractRendererExporterImpl
- Throws:
ImportExportException
-
setAttachmentManager
-