public class HtmlExporter extends AbstractRendererExporterImpl
AbstractRendererExporterImpl.ContentConverter
i18nBeanFactory
Constructor and Description |
---|
HtmlExporter() |
Modifier and Type | Method and Description |
---|---|
String |
doExport(com.atlassian.core.util.ProgressMeter progress)
Exports the content specified by the configured
ExportContext . |
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) |
protected ImageProcessingRule |
getImageProcessingRule(String exportDir)
Returns a new
ImageProcessingRule for each export. |
createTemplateSupport, ensurePathExists, exportImages, exportResource, getTransformerFactory, getWorkingExportContext, setDownloadResourceManager, setFormatSettingsManager, setLocaleManager, setSettingsManager, setThemeManager, setTransformerFactory, setUserAccessor, setXhtmlRenderer
checkHaveSomethingToExport, createAndSetExportDirectory, createExportDirectory, ensureDirectoryCreated, getSpaceKeyForExportFileName, prepareExportFileName, setExportFileNameGenerator, setI18NBeanFactory
getContext, setContext
public String doExport(com.atlassian.core.util.ProgressMeter progress) throws ImportExportException
Exporter
ExportContext
.doExport
in class AbstractRendererExporterImpl
progress
- the meter to update with progress during the export.ImportExportException
- if it fails for any reason.protected void exportPage(Page page, String baseExportPath) throws ImportExportException
exportPage
in class AbstractRendererExporterImpl
ImportExportException
protected void exportSpace(Space space, String baseExportPath) throws ImportExportException
exportSpace
in class AbstractRendererExporterImpl
ImportExportException
protected ImageProcessingRule getImageProcessingRule(String exportDir)
AbstractRendererExporterImpl
ImageProcessingRule
for each export.getImageProcessingRule
in class AbstractRendererExporterImpl
protected ExportLinkFormatter getExportLinkFormatter()
AbstractRendererExporterImpl
ExportLinkFormatter
for the exporter.getExportLinkFormatter
in class AbstractRendererExporterImpl
protected String getFullExportPath(String baseExportPath, ConfluenceEntityObject entity) throws ImportExportException
getFullExportPath
in class AbstractRendererExporterImpl
ImportExportException
protected void doExportEntity(ConfluenceEntityObject entity, String exportPath) throws ImportExportException
doExportEntity
in class AbstractRendererExporterImpl
ImportExportException
Copyright © 2003–2015 Atlassian. All rights reserved.