Home
last modified time | relevance | path

Searched refs:streamCompressor (Results 1 – 3 of 3) sorted by relevance

/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/
DScatterZipOutputStream.java51 private final StreamCompressor streamCompressor; field in ScatterZipOutputStream
83 final StreamCompressor streamCompressor) { in ScatterZipOutputStream() argument
85 this.streamCompressor = streamCompressor; in ScatterZipOutputStream()
96 streamCompressor.deflate(payloadStream, zipArchiveEntryRequest.getMethod()); in addArchiveEntry()
98 items.add(new CompressedEntry(zipArchiveEntryRequest, streamCompressor.getCrc32(), in addArchiveEntry()
99streamCompressor.getBytesWrittenForLastEntry(), streamCompressor.getBytesRead())); in addArchiveEntry()
130 streamCompressor.close(); in close()
DZipArchiveOutputStream.java180 private final StreamCompressor streamCompressor; field in ZipArchiveOutputStream
277 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 …]
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/
DStreamCompressorTest.java66 try (StreamCompressor streamCompressor = StreamCompressor in testCreateDataOutputCompressor() argument
68 assertNotNull(streamCompressor); in testCreateDataOutputCompressor()