@Override public Object call() throws Exception { tlScatterStreams.get().addArchiveEntry(zipArchiveEntryRequest); return null; } };
@Override public Object call() throws Exception { tlScatterStreams.get().addArchiveEntry(zipArchiveEntryRequestSupplier.get()); return null; } };
directories.addArchiveEntry( createZipArchiveEntryRequest( zipArchiveEntry, createInputStreamSupplier( payload ) ) ); metaInfDir.addArchiveEntry( createZipArchiveEntryRequest( zipArchiveEntry, createInputStreamSupplier( payload ) ) ); manifest.addArchiveEntry( createZipArchiveEntryRequest( zipArchiveEntry, createInputStreamSupplier( payload ) ) ); synchronousEntries.addArchiveEntry( createEntry( zipArchiveEntry, source ) );
@Override public Object call() throws Exception { tlScatterStreams.get().addArchiveEntry(zipArchiveEntryRequest); return null; } };
@Override public Object call() throws Exception { tlScatterStreams.get().addArchiveEntry(zipArchiveEntryRequestSupplier.get()); return null; } };
public void addEntry(ZipArchiveEntry zipArchiveEntry, InputStreamSupplier streamSupplier) throws IOException { if (zipArchiveEntry.isDirectory() && !zipArchiveEntry.isUnixSymlink()) dirs.addArchiveEntry(ZipArchiveEntryRequest.createZipArchiveEntryRequest(zipArchiveEntry, streamSupplier)); else scatterZipCreator.addArchiveEntry(zipArchiveEntry, streamSupplier); }