com.atlassian.confluence.importexport.impl
Class AbstractExporterImpl

java.lang.Object
  extended bycom.atlassian.confluence.importexport.Exporter
      extended bycom.atlassian.confluence.importexport.impl.AbstractExporterImpl
Direct Known Subclasses:
AbstractRendererExporterImpl, AbstractXmlExporter

public abstract class AbstractExporterImpl
extends Exporter


Field Summary
 
Fields inherited from class com.atlassian.confluence.importexport.Exporter
context, log
 
Constructor Summary
AbstractExporterImpl()
           
 
Method Summary
protected  void checkHaveSomethingToExport()
           
 String doExport(ObjectHandleTranslator translator)
           
protected  void ensureDirectoryCreated(File directory)
           
protected  void ensurePathExists(String path)
           
protected  String getSpaceKeyForExportFileName(String spaceKey)
           
protected  DefaultExportContext getWorkingExportContext()
           
protected  String prepareExportFileName(ConfluenceEntityObject entity)
           
 
Methods inherited from class com.atlassian.confluence.importexport.Exporter
doExport, getContext, setContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractExporterImpl

public AbstractExporterImpl()
Method Detail

getWorkingExportContext

protected DefaultExportContext getWorkingExportContext()

ensurePathExists

protected void ensurePathExists(String path)
                         throws ImportExportException
Throws:
ImportExportException

doExport

public String doExport(ObjectHandleTranslator translator)
                throws ImportExportException
Throws:
ImportExportException

ensureDirectoryCreated

protected void ensureDirectoryCreated(File directory)
                               throws ImportExportException
Throws:
ImportExportException

prepareExportFileName

protected String prepareExportFileName(ConfluenceEntityObject entity)

getSpaceKeyForExportFileName

protected String getSpaceKeyForExportFileName(String spaceKey)

checkHaveSomethingToExport

protected void checkHaveSomethingToExport()
                                   throws ImportExportException
Throws:
ImportExportException


Confluence is developed by Atlassian.