Class AbstractExporterImpl
java.lang.Object
com.atlassian.confluence.importexport.Exporter
com.atlassian.confluence.impl.importexport.AbstractExporterImpl
- Direct Known Subclasses:
AbstractRendererExporterImpl
,AbstractXmlExporter
Abstract exporter that only deals with simple general export utility methods
like where the files go.
- Since:
- 7.14
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected File
Create a temp directory to store files used to build an export zip.protected void
ensureDirectoryCreated
(File directory) protected String
getSpaceKeyForExportFileName
(String spaceKey) protected DefaultExportContext
protected String
void
setExportFileNameGenerator
(ExportFileNameGenerator exportFileNameGenerator) void
setI18NBeanFactory
(I18NBeanFactory i18nBeanFactory) Methods inherited from class com.atlassian.confluence.importexport.Exporter
doExport, getContext, setContext
-
Field Details
-
i18nBeanFactory
-
-
Constructor Details
-
AbstractExporterImpl
public AbstractExporterImpl()
-
-
Method Details
-
getWorkingExportContext
-
createAndSetExportDirectory
- Throws:
ImportExportException
-
ensureDirectoryCreated
- Throws:
ImportExportException
-
getSpaceKeyForExportFileName
-
checkHaveSomethingToExport
- Throws:
ImportExportException
-
prepareExportFileName
-
createExportDirectory
Create a temp directory to store files used to build an export zip. Throw an error if this folder cannot be created- Returns:
- the absolute path to the export directory
- Throws:
ImportExportException
- if the directory can't be created
-
setExportFileNameGenerator
-
setI18NBeanFactory
-