com.atlassian.confluence.it.export
Class SimpleHtmlSpaceExportStructure
java.lang.Object
com.atlassian.confluence.it.export.SimpleHtmlSpaceExportStructure
public class SimpleHtmlSpaceExportStructure
- extends Object
Takes in an export html zip, and returns data about it. Use this to perform assertions in tests.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleHtmlSpaceExportStructure
public SimpleHtmlSpaceExportStructure(Space space,
ZipFile exportZipFile)
- Parameters:
space
- the space from which the export was madeexportZipFile
- the zip file for the export
hasPage
public boolean hasPage(Page page)
computeZipEntryName
public static String computeZipEntryName(Page page)
getPages
public List<String> getPages()
- The html export zip contains each page as a separate .html file, with an index.html file. This method considers
all the files that end in html other than index.html to be a page from the original space.
Copyright © 2003-2013 Atlassian. All Rights Reserved.