com.atlassian.confluence.importexport.impl
Class HtmlExporter

java.lang.Object
  extended bycom.atlassian.confluence.importexport.Exporter
      extended bycom.atlassian.confluence.importexport.impl.AbstractExporterImpl
          extended bycom.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl
              extended bycom.atlassian.confluence.importexport.impl.HtmlExporter

public class HtmlExporter
extends AbstractRendererExporterImpl


Field Summary
 
Fields inherited from class com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl
attachmentManager, generalUtil, pageManager, spaceManager, themeManager
 
Fields inherited from class com.atlassian.confluence.importexport.Exporter
context, log
 
Constructor Summary
HtmlExporter()
           
 
Method Summary
protected  void copyResources(String exportDir)
           
 String doExport()
           
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  String getFullExportPath(String base_export_path, ConfluenceEntityObject entity)
           
protected  String getLinkPostfix()
           
protected  String getLinkPrefix()
           
protected  boolean getLinkToExports()
           
 
Methods inherited from class com.atlassian.confluence.importexport.impl.AbstractRendererExporterImpl
copyExportedResource, createTemplateSupport, exportAttachedImages, exportPageAttachments, exportPageAttachments, getWorkingExportContext, setAttachmentManager, setBootstrapManager, setIconManager, setPageManager, setSpaceManager, setSubRenderer, setThemeManager, setWikiStyleRenderer
 
Methods inherited from class com.atlassian.confluence.importexport.impl.AbstractExporterImpl
checkHaveSomethingToExport, doExport, ensureDirectoryCreated, ensurePathExists, getSpaceKeyForExportFileName, prepareExportFileName
 
Methods inherited from class com.atlassian.confluence.importexport.Exporter
getContext, setContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlExporter

public HtmlExporter()
Method Detail

getLinkPostfix

protected String getLinkPostfix()
Specified by:
getLinkPostfix in class AbstractRendererExporterImpl

getLinkToExports

protected boolean getLinkToExports()
Specified by:
getLinkToExports in class AbstractRendererExporterImpl

getLinkPrefix

protected String getLinkPrefix()
Specified by:
getLinkPrefix in class AbstractRendererExporterImpl

doExport

public String doExport()
                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
Parameters:
page -
baseExportPath -
Throws:
ImportExportException

exportSpace

protected void exportSpace(Space space,
                           String baseExportPath)
                    throws ImportExportException
Overrides:
exportSpace in class AbstractRendererExporterImpl
Throws:
ImportExportException

getFullExportPath

protected String getFullExportPath(String base_export_path,
                                   ConfluenceEntityObject entity)
                            throws ImportExportException
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

copyResources

protected void copyResources(String exportDir)
                      throws IOException
Overrides:
copyResources in class AbstractRendererExporterImpl
Throws:
IOException


Confluence is developed by Atlassian.