com.atlassian.confluence.importexport.impl
Class ExportUtils
java.lang.Object
com.atlassian.confluence.importexport.impl.ExportUtils
- public class ExportUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PROP_BUILD_NUMBER
public static final String PROP_BUILD_NUMBER
- See Also:
- Constant Field Values
PROP_EXPORT_TYPE
public static final String PROP_EXPORT_TYPE
- See Also:
- Constant Field Values
PROP_BACKUP_ATTACHMENTS
public static final String PROP_BACKUP_ATTACHMENTS
- See Also:
- Constant Field Values
ExportUtils
public ExportUtils()
getExportTypeFromExportZip
public static String getExportTypeFromExportZip(File exportZip)
throws ImportExportException
- extracts only the exportDescriptor.properties from an export zip and determine the type of export
- Parameters:
exportZip
-
- Throws:
ImportExportException
getExportTypeFromExportZip
public static String getExportTypeFromExportZip(File exportZip,
boolean cleanup)
throws ImportExportException
- Throws:
ImportExportException
getExportDescriptor
public static Properties getExportDescriptor(File exportZip,
boolean cleanup)
throws ImportExportException
- Throws:
ImportExportException
isSpaceImport
public static boolean isSpaceImport(File importFile)
throws ImportExportException
- Throws:
ImportExportException
getSpaceKeyFromExportZip
public static String getSpaceKeyFromExportZip(File exportZip)
throws ImportExportException
- parses entities.xml file and extracts the first space key it finds
- Parameters:
exportZip
-
- Throws:
ImportExportException