com.atlassian.confluence.importexport.impl
Class MemoryXmlExporter
java.lang.Object
com.atlassian.confluence.importexport.Exporter
com.atlassian.confluence.importexport.impl.AbstractExporterImpl
com.atlassian.confluence.importexport.impl.AbstractXmlExporter
com.atlassian.confluence.importexport.impl.MemoryXmlExporter
public class MemoryXmlExporter
- extends AbstractXmlExporter
Methods inherited from class com.atlassian.confluence.importexport.impl.AbstractXmlExporter |
addPropertiesForContent, backupEntities, backupEverything, doExport, expandSpaces, getContentAndContentPropertiesFromSpace, getExportType, getObjectsExcludedFromExport, setBootstrapManager, setMailContentManager, setPageManager, setPropertySetManager, setSessionFactory, setSettingsManager, setSpaceManager, writeBackupDescriptor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MemoryXmlExporter
public MemoryXmlExporter()
getXmlOutputStream
protected java.io.OutputStream getXmlOutputStream()
throws ImportExportException,
java.io.IOException
- Description copied from class:
AbstractXmlExporter
- output stream to write XML object information to
- Overrides:
getXmlOutputStream
in class AbstractXmlExporter
- Returns:
- the XMLOutputStream
- Throws:
ImportExportException
java.io.FileNotFoundException
java.io.IOException
getDescriptorOutputStream
protected java.io.OutputStream getDescriptorOutputStream()
throws ImportExportException,
java.io.FileNotFoundException
- Overrides:
getDescriptorOutputStream
in class AbstractXmlExporter
- Throws:
ImportExportException
java.io.FileNotFoundException
getXmlByteStream
public java.io.ByteArrayOutputStream getXmlByteStream()
getDescriptorByteStream
public java.io.ByteArrayOutputStream getDescriptorByteStream()
getSourceAttachmentsDirForCopying
protected java.util.List getSourceAttachmentsDirForCopying()
getSourceTemplateDirForCopying
protected java.util.List getSourceTemplateDirForCopying()
- Specified by:
getSourceTemplateDirForCopying
in class AbstractXmlExporter
getHandlesOfObjectsForExport
protected java.util.List getHandlesOfObjectsForExport()
throws ImportExportException
- Specified by:
getHandlesOfObjectsForExport
in class AbstractXmlExporter
- Throws:
ImportExportException
convertObjectToHandle
public java.lang.Object convertObjectToHandle(java.lang.Object object)
convertHandleToObject
public java.lang.Object convertHandleToObject(java.lang.Object handle)
doExport
public java.lang.String doExport(com.atlassian.core.util.ProgressMeter progress)
throws ImportExportException
- Specified by:
doExport
in class Exporter
- Throws:
ImportExportException
getExportDirectory
protected java.io.File getExportDirectory()
throws ImportExportException
- Description copied from class:
AbstractExporterImpl
- Create a temp directory to store files used to build an export zip. Throw an error if this folder cannot be
created
- Overrides:
getExportDirectory
in class AbstractExporterImpl
- Returns:
- the absolute path to the export directory
- Throws:
ImportExportException
- if the directory can't be created
Copyright © 2003-2009 Atlassian Pty Ltd. All Rights Reserved.