Class JarArchiveInputStream

All Implemented Interfaces:
Closeable, AutoCloseable, InputStreamStatistics

Implements an input stream that can read entries from jar files.
This class is not thread-safe
  • Constructor Details

    • JarArchiveInputStream

      public JarArchiveInputStream(InputStream inputStream)
      Creates an instance from the input stream using the default encoding.
      Parameters:
      inputStream - the input stream to wrap
    • JarArchiveInputStream

      public JarArchiveInputStream(InputStream inputStream, String encoding)
      Creates an instance from the input stream using the specified encoding.
      Parameters:
      inputStream - the input stream to wrap
      encoding - the encoding to use
      Since:
      1.10
  • Method Details