Uses of Interface
com.atlassian.bitbucket.io.IoConsumer
Packages that use IoConsumer
- 
Uses of IoConsumer in com.atlassian.bitbucket.migrationMethods in com.atlassian.bitbucket.migration that return IoConsumerModifier and TypeMethodDescriptionstatic IoConsumer<SequentialArchive> ExportSection.emptyArchive()Returns a consumer forSequentialArchivethat adds no entries to the archive.static IoConsumer<OutputStream> ExportSection.emptyEntry()Returns a consumer forOutputStreamthat does not write any data.Methods in com.atlassian.bitbucket.migration with parameters of type IoConsumerModifier and TypeMethodDescriptionvoidExportSection.addEntriesAsArchive(Path entryName, IoConsumer<SequentialArchive> writer, boolean compress) Adds entries packaged as an archive to the export archivevoidExportSection.addEntry(Path entryName, IoConsumer<OutputStream> writer, boolean compress) Creates a file with the givenentryNameunder thissectionof the export archive, then consumes theOutputStreamit obtains from the file, using the givenConsumervoidSequentialArchive.addEntry(Path logicalPathInBundle, IoConsumer<OutputStream> outputStream) Add an entry to an archive.default voidArchiveSource.read(IoConsumer<EntrySource> reader) Filter and read each file in the archive.voidArchiveSource.read(IoConsumer<EntrySource> reader, Predicate<String> filter) Filter and read each file in the archive.voidEntrySource.read(IoConsumer<InputStream> reader) Read the file represented by this entry.