/** * Adds an archive entry to this archive. * <p> * This method is expected to be called from a single client thread * </p> * * @param zipArchiveEntry The entry to add. * @param source The source input stream supplier */ public void addArchiveEntry(final ZipArchiveEntry zipArchiveEntry, final InputStreamSupplier source) { submit(createCallable(zipArchiveEntry, source)); }
/** * Adds an archive entry to this archive. * <p> * This method is expected to be called from a single client thread * </p> * * @param zipArchiveEntryRequestSupplier Should supply the entry to be added. * @since 1.13 */ public void addArchiveEntry(final ZipArchiveEntryRequestSupplier zipArchiveEntryRequestSupplier) { submit(createCallable(zipArchiveEntryRequestSupplier)); }
/** * Adds an archive entry to this archive. * <p> * This method is expected to be called from a single client thread * </p> * * @param zipArchiveEntryRequestSupplier Should supply the entry to be added. * @since 1.13 */ public void addArchiveEntry(final ZipArchiveEntryRequestSupplier zipArchiveEntryRequestSupplier) { submit(createCallable(zipArchiveEntryRequestSupplier)); }
/** * Adds an archive entry to this archive. * <p> * This method is expected to be called from a single client thread * </p> * * @param zipArchiveEntry The entry to add. * @param source The source input stream supplier */ public void addArchiveEntry(final ZipArchiveEntry zipArchiveEntry, final InputStreamSupplier source) { submit(createCallable(zipArchiveEntry, source)); }