public interface ArchiveWriter extends AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Locking method that waits for all data to be archived and closes necessary resources.
|
void |
compressFromStream(InputStream streamToZip,
String pathInZip)
Compresses data from the provided input stream into an archive.
|
void compressFromStream(InputStream streamToZip, String pathInZip)
streamToZip - - source streampathInZip - - path in the archive where entry is written tovoid close()
throws BackupRestoreException
close in interface AutoCloseableBackupRestoreException - - throws if any exception occurredCopyright © 2003–2022 Atlassian. All rights reserved.