Class AbstractExporterImpl
- java.lang.Object
-
- com.atlassian.confluence.importexport.Exporter
-
- com.atlassian.confluence.importexport.impl.AbstractExporterImpl
-
- Direct Known Subclasses:
AbstractRendererExporterImpl
@Deprecated public abstract class AbstractExporterImpl extends Exporter
Deprecated.since 7.14Abstract exporter that only deals with simple general export utility methods like where the files go.
-
-
Field Summary
Fields Modifier and Type Field Description protected I18NBeanFactory
i18nBeanFactory
Deprecated.
-
Constructor Summary
Constructors Constructor Description AbstractExporterImpl()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected void
checkHaveSomethingToExport()
Deprecated.String
createAndSetExportDirectory()
Deprecated.protected File
createExportDirectory()
Deprecated.Create a temp directory to store files used to build an export zip.protected void
ensureDirectoryCreated(File directory)
Deprecated.protected String
getSpaceKeyForExportFileName(String spaceKey)
Deprecated.protected DefaultExportContext
getWorkingExportContext()
Deprecated.protected String
prepareExportFileName(ConfluenceEntityObject entity)
Deprecated.void
setExportFileNameGenerator(ExportFileNameGenerator exportFileNameGenerator)
Deprecated.void
setI18NBeanFactory(I18NBeanFactory i18nBeanFactory)
Deprecated.-
Methods inherited from class com.atlassian.confluence.importexport.Exporter
doExport, getContext, setContext
-
-
-
-
Field Detail
-
i18nBeanFactory
protected I18NBeanFactory i18nBeanFactory
Deprecated.
-
-
Method Detail
-
getWorkingExportContext
protected DefaultExportContext getWorkingExportContext()
Deprecated.
-
createAndSetExportDirectory
public String createAndSetExportDirectory() throws ImportExportException
Deprecated.- Throws:
ImportExportException
-
ensureDirectoryCreated
protected void ensureDirectoryCreated(File directory) throws ImportExportException
Deprecated.- Throws:
ImportExportException
-
getSpaceKeyForExportFileName
protected String getSpaceKeyForExportFileName(String spaceKey)
Deprecated.
-
checkHaveSomethingToExport
protected void checkHaveSomethingToExport() throws ImportExportException
Deprecated.- Throws:
ImportExportException
-
prepareExportFileName
protected String prepareExportFileName(ConfluenceEntityObject entity)
Deprecated.
-
createExportDirectory
protected File createExportDirectory() throws ImportExportException
Deprecated.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
public void setExportFileNameGenerator(ExportFileNameGenerator exportFileNameGenerator)
Deprecated.
-
setI18NBeanFactory
public void setI18NBeanFactory(I18NBeanFactory i18nBeanFactory)
Deprecated.
-
-