Package | Description |
---|---|
com.atlassian.bitbucket.migration |
Modifier and Type | Method and Description |
---|---|
static IoConsumer<SequentialArchive> |
ExportSection.emptyArchive()
Returns a consumer for
SequentialArchive that adds no entries to the archive. |
static IoConsumer<OutputStream> |
ExportSection.emptyEntry()
Returns a consumer for
OutputStream that does not write any data. |
Modifier and Type | Method and Description |
---|---|
void |
ExportSection.addEntriesAsArchive(Path entryName,
IoConsumer<SequentialArchive> writer,
boolean compress)
Adds entries packaged as an archive to the export archive
|
void |
SequentialArchive.addEntry(Path logicalPathInBundle,
IoConsumer<OutputStream> outputStream)
Add an entry to an archive.
|
void |
ExportSection.addEntry(Path entryName,
IoConsumer<OutputStream> writer,
boolean compress)
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 |
default void |
ArchiveSource.read(IoConsumer<EntrySource> reader)
Filter and read each file in the archive.
|
void |
ArchiveSource.read(IoConsumer<EntrySource> reader,
Predicate<String> filter)
Filter and read each file in the archive.
|
void |
EntrySource.read(IoConsumer<InputStream> reader)
Read the file represented by this entry.
|
Copyright © 2024 Atlassian. All rights reserved.