com.atlassian.confluence.importexport.impl
Class AbstractExporterImpl
java.lang.Object
com.atlassian.confluence.importexport.Exporter
com.atlassian.confluence.importexport.impl.AbstractExporterImpl
- Direct Known Subclasses:
- AbstractRendererExporterImpl, AbstractXmlExporter
public abstract class AbstractExporterImpl
- extends Exporter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractExporterImpl
public AbstractExporterImpl()
getWorkingExportContext
protected DefaultExportContext getWorkingExportContext()
doExport
public java.lang.String doExport(ObjectHandleTranslator translator,
com.atlassian.core.util.ProgressMeter progress)
throws ImportExportException
- Throws:
ImportExportException
ensureDirectoryCreated
protected void ensureDirectoryCreated(java.io.File directory)
throws ImportExportException
- Throws:
ImportExportException
getSpaceKeyForExportFileName
protected java.lang.String getSpaceKeyForExportFileName(java.lang.String spaceKey)
checkHaveSomethingToExport
protected void checkHaveSomethingToExport()
throws ImportExportException
- Throws:
ImportExportException
prepareExportFileName
protected java.lang.String prepareExportFileName(ConfluenceEntityObject entity)
getExportDirectory
protected java.io.File getExportDirectory()
throws ImportExportException
- 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)
Copyright © 2003-2011 Atlassian. All Rights Reserved.