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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoExport(com.atlassian.core.util.ProgressMeter progress) Exports the content specified by the configuredExportContext.protected voiddoExportEntity(ConfluenceEntityObject entity, String exportPath) protected voidexportPage(Page page, String baseExportPath) Export page exports either a single page or, if context.exportChildren is set, the whole page hierarchy.protected voidexportSpace(Space space, String baseExportPath) protected ExportLinkFormatterReturns theExportLinkFormatterfor the exporter.protected StringgetFullExportPath(String baseExportPath, ConfluenceEntityObject entity) protected ImageProcessingRulegetImageProcessingRule(String exportDir) Returns a newImageProcessingRulefor each export.voidsetAttachmentManager(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, setXhtmlRendererMethods inherited from class com.atlassian.confluence.impl.importexport.AbstractExporterImpl
checkHaveSomethingToExport, createAndSetExportDirectory, createExportDirectory, ensureDirectoryCreated, getSpaceKeyForExportFileName, prepareExportFileName, setExportFileNameGenerator, setI18NBeanFactoryMethods inherited from class com.atlassian.confluence.importexport.Exporter
getContext, setContext
-
Constructor Details
-
HtmlExporter
public HtmlExporter()
-
-
Method Details
-
doExport
Description copied from class:ExporterExports the content specified by the configuredExportContext.- Overrides:
doExportin 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:
exportPagein classAbstractRendererExporterImpl- Throws:
ImportExportException
-
exportSpace
- Overrides:
exportSpacein classAbstractRendererExporterImpl- Throws:
ImportExportException
-
getImageProcessingRule
Description copied from class:AbstractRendererExporterImplReturns a newImageProcessingRulefor each export.- Specified by:
getImageProcessingRulein classAbstractRendererExporterImpl
-
getExportLinkFormatter
Description copied from class:AbstractRendererExporterImplReturns theExportLinkFormatterfor the exporter.- Specified by:
getExportLinkFormatterin classAbstractRendererExporterImpl
-
getFullExportPath
protected String getFullExportPath(String baseExportPath, ConfluenceEntityObject entity) throws ImportExportException - Specified by:
getFullExportPathin classAbstractRendererExporterImpl- Throws:
ImportExportException
-
doExportEntity
protected void doExportEntity(ConfluenceEntityObject entity, String exportPath) throws ImportExportException - Specified by:
doExportEntityin classAbstractRendererExporterImpl- Throws:
ImportExportException
-
setAttachmentManager
-