public class

ExportUtils

extends Object
java.lang.Object
   ↳ com.atlassian.confluence.importexport.impl.ExportUtils

Summary

Constants
String PROP_BACKUP_ATTACHMENTS
String PROP_BUILD_NUMBER
String PROP_EXPORT_TYPE
Public Constructors
ExportUtils()
Public Methods
static Properties getExportDescriptor(File exportZip, boolean cleanup)
static String getExportTypeFromExportZip(File exportZip, boolean cleanup)
static String getExportTypeFromExportZip(File exportZip)
extracts only the exportDescriptor.properties from an export zip and determine the type of export
static String getSpaceKeyFromExportZip(File exportZip)
parses entities.xml file and extracts the first space key it finds
static boolean isSpaceImport(File importFile)
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String PROP_BACKUP_ATTACHMENTS

Constant Value: "backupAttachments"

public static final String PROP_BUILD_NUMBER

Constant Value: "buildNumber"

public static final String PROP_EXPORT_TYPE

Constant Value: "exportType"

Public Constructors

public ExportUtils ()

Public Methods

public static Properties getExportDescriptor (File exportZip, boolean cleanup)

public static String getExportTypeFromExportZip (File exportZip, boolean cleanup)

public static String getExportTypeFromExportZip (File exportZip)

extracts only the exportDescriptor.properties from an export zip and determine the type of export

public static String getSpaceKeyFromExportZip (File exportZip)

parses entities.xml file and extracts the first space key it finds

public static boolean isSpaceImport (File importFile)