com.atlassian.confluence.importexport.impl
Class HtmlExporter
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
public class HtmlExporter
- extends AbstractRendererExporterImpl
Fields inherited from class com.atlassian.confluence.importexport.Exporter |
context |
Methods inherited from class com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl |
createTemplateSupport, ensurePathExists, exportImages, exportResource, getTransformerFactory, getWorkingExportContext, setDownloadResourceManager, setFormatSettingsManager, setIconManager, setLocaleManager, setSettingsManager, setSubRenderer, setThemeManager, setTransformerFactory, setUserAccessor, setWikiStyleRenderer |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HtmlExporter
public HtmlExporter()
doExport
public String doExport(ProgressMeter progress)
throws ImportExportException
- Overrides:
doExport
in class AbstractRendererExporterImpl
- Throws:
ImportExportException
exportPage
protected void exportPage(Page page,
String baseExportPath)
throws ImportExportException
- Export page exports either a single page or, if context.exportChildren is set, the whole page hierarchy.
- Overrides:
exportPage
in class AbstractRendererExporterImpl
- Throws:
ImportExportException
exportSpace
protected void exportSpace(Space space,
String baseExportPath)
throws ImportExportException
- Overrides:
exportSpace
in class AbstractRendererExporterImpl
- Throws:
ImportExportException
getImageProcessingRule
protected ImageProcessingRule getImageProcessingRule(String exportDir)
- Description copied from class:
AbstractRendererExporterImpl
- Returns a new
ImageProcessingRule
for each export.
- Specified by:
getImageProcessingRule
in class AbstractRendererExporterImpl
getExportLinkFormatter
protected ExportLinkFormatter getExportLinkFormatter()
- Description copied from class:
AbstractRendererExporterImpl
- Returns the
ExportLinkFormatter
for the exporter.
- Specified by:
getExportLinkFormatter
in class AbstractRendererExporterImpl
getFullExportPath
protected String getFullExportPath(String baseExportPath,
ConfluenceEntityObject entity)
throws ImportExportException
- 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.
- Specified by:
getFullExportPath
in class AbstractRendererExporterImpl
- Throws:
ImportExportException
doExportEntity
protected void doExportEntity(ConfluenceEntityObject entity,
String exportPath)
throws ImportExportException
- Specified by:
doExportEntity
in class AbstractRendererExporterImpl
- Throws:
ImportExportException