Class ZipFile.BoundedFileChannelInputStream

java.lang.Object
java.io.InputStream
org.apache.commons.compress.utils.BoundedArchiveInputStream
org.apache.commons.compress.archivers.zip.ZipFile.BoundedFileChannelInputStream
All Implemented Interfaces:
Closeable, AutoCloseable
Enclosing class:
ZipFile

private class ZipFile.BoundedFileChannelInputStream extends BoundedArchiveInputStream
Lock-free implementation of BoundedInputStream. The implementation uses positioned reads on the underlying archive file channel and therefore performs significantly faster in concurrent environment.
  • Field Details

  • Constructor Details

    • BoundedFileChannelInputStream

      BoundedFileChannelInputStream(long start, long remaining)
  • Method Details