Searched refs:streamCompressor (Results 1 – 3 of 3) sorted by relevance
51 private final StreamCompressor streamCompressor; field in ScatterZipOutputStream83 final StreamCompressor streamCompressor) { in ScatterZipOutputStream() argument85 this.streamCompressor = streamCompressor; in ScatterZipOutputStream()96 streamCompressor.deflate(payloadStream, zipArchiveEntryRequest.getMethod()); in addArchiveEntry()98 items.add(new CompressedEntry(zipArchiveEntryRequest, streamCompressor.getCrc32(), in addArchiveEntry()99 … streamCompressor.getBytesWrittenForLastEntry(), streamCompressor.getBytesRead())); in addArchiveEntry()130 streamCompressor.close(); in close()
180 private final StreamCompressor streamCompressor; field in ZipArchiveOutputStream277 streamCompressor = StreamCompressor.create(out, def); in ZipArchiveOutputStream()306 streamCompressor = _streamCompressor; in ZipArchiveOutputStream()324 streamCompressor = StreamCompressor.create(channel, def); in ZipArchiveOutputStream()470 cdOffset = streamCompressor.getTotalBytesWritten(); in finish()473 cdLength = streamCompressor.getTotalBytesWritten() - cdOffset; in finish()478 streamCompressor.close(); in finish()510 final long bytesWritten = streamCompressor.getTotalBytesWritten() - entry.dataStart; in closeArchiveEntry()511 final long realCrc = streamCompressor.getCrc32(); in closeArchiveEntry()512 entry.bytesRead = streamCompressor.getBytesRead(); in closeArchiveEntry()[all …]
66 try (StreamCompressor streamCompressor = StreamCompressor in testCreateDataOutputCompressor() argument68 assertNotNull(streamCompressor); in testCreateDataOutputCompressor()