Interface IRepositoryExporter
- All Known Subinterfaces:
IRepository
public interface IRepositoryExporter
The interface with the export related methods of the repository .
-
Method Summary
Modifier and Type Method Description byte[]exportZip(String relativeRoot, boolean inclusive)Export all the content under the given path with the target repository instance Include or NOT the last segment of the relative root during the archiving.byte[]exportZip(List<String> relativeRoots)Export all the content under the given path(s) with the target repository instance Include the last segment of the relative roots during the archiving.
-
Method Details
-
exportZip
Export all the content under the given path(s) with the target repository instance Include the last segment of the relative roots during the archiving.- Parameters:
relativeRoots- the list of relative roots- Returns:
- the zip content
- Throws:
RepositoryExportException- in case the export cannot be performed
-
exportZip
Export all the content under the given path with the target repository instance Include or NOT the last segment of the relative root during the archiving.- Parameters:
relativeRoot- single rootinclusive- whether to include the last segment of the root or to pack its content directly in the archive- Returns:
- the zip content
- Throws:
RepositoryExportException- in case the export cannot be performed
-