| com.atlassian.bitbucket.migration.ExportSection | 
|  Known Indirect Subclasses | 
Allows addition of entries to the export archive, either from disk or directly from a OutputStream stream.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Adds entries packaged as an archive to the export archive | |||||||||||
| Creates a file with the given  entryNameunder thissectionof the export archive,
 then consumes theOutputStreamit obtains from the file, using the given Consumer | |||||||||||
| Returns a consumer for  SequentialArchivethat adds no entries to the archive. | |||||||||||
| Returns a consumer for  OutputStreamthat does not write any data. | |||||||||||
Adds entries packaged as an archive to the export archive
| entryName | the name to give this entry | 
|---|---|
| writer | used to write the contents of the entry (as an archive file) | 
| compress | whether to compress the contents of the entry | 
| when an unrecoverable exception occurs when writing to the archive | 
Creates a file with the given entryName under this section of the export archive,
 then consumes the OutputStream it obtains from the file, using the given Consumer
| entryName | the entryName of the file to be created. Use Paths#get(String, String...) to use this method efficiently. | 
|---|---|
| writer | consumestheOutputStreamto add an entry to the archive | 
| compress | whether to compress the entry when adding it to the archive | 
| when an unrecoverable exception occurs when writing to the archive | 
Returns a consumer for SequentialArchive that adds no entries to the archive.
Returns a consumer for OutputStream that does not write any data.