public abstract class AbstractExporterImpl extends Exporter
Modifier and Type | Field and Description |
---|---|
protected I18NBeanFactory |
i18nBeanFactory |
Constructor and Description |
---|
AbstractExporterImpl() |
Modifier and Type | Method and Description |
---|---|
protected void |
checkHaveSomethingToExport() |
String |
createAndSetExportDirectory() |
protected File |
createExportDirectory()
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 |
getWorkingExportContext() |
protected String |
prepareExportFileName(ConfluenceEntityObject entity) |
void |
setExportFileNameGenerator(ExportFileNameGenerator exportFileNameGenerator) |
void |
setI18NBeanFactory(I18NBeanFactory i18nBeanFactory) |
doExport, getContext, setContext
protected I18NBeanFactory i18nBeanFactory
protected DefaultExportContext getWorkingExportContext()
public String createAndSetExportDirectory() throws ImportExportException
ImportExportException
protected void ensureDirectoryCreated(File directory) throws ImportExportException
ImportExportException
protected void checkHaveSomethingToExport() throws ImportExportException
ImportExportException
protected String prepareExportFileName(ConfluenceEntityObject entity)
protected File createExportDirectory() throws ImportExportException
ImportExportException
- if the directory can't be createdpublic void setExportFileNameGenerator(ExportFileNameGenerator exportFileNameGenerator)
public void setI18NBeanFactory(I18NBeanFactory i18nBeanFactory)
Copyright © 2003–2015 Atlassian. All rights reserved.