Interface ZipEntrySource

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void close()
      Indicates we are done with reading, and resources may be freed
      Enumeration<? extends org.apache.commons.compress.archivers.zip.ZipArchiveEntry> getEntries()
      Returns an Enumeration of all the Entries
      org.apache.commons.compress.archivers.zip.ZipArchiveEntry getEntry​(String path)
      Return an entry by its path
      InputStream getInputStream​(org.apache.commons.compress.archivers.zip.ZipArchiveEntry entry)
      Returns an InputStream of the decompressed data that makes up the entry
      boolean isClosed()
      Has close been called already?
    • Method Detail

      • getEntries

        Enumeration<? extends org.apache.commons.compress.archivers.zip.ZipArchiveEntry> getEntries()
        Returns an Enumeration of all the Entries
      • getEntry

        org.apache.commons.compress.archivers.zip.ZipArchiveEntry getEntry​(String path)
        Return an entry by its path
        Parameters:
        path - the path in unix-notation
        Returns:
        the entry or null if not found
        Since:
        POI 4.0.0
      • getInputStream

        InputStream getInputStream​(org.apache.commons.compress.archivers.zip.ZipArchiveEntry entry)
                            throws IOException
        Returns an InputStream of the decompressed data that makes up the entry
        Throws:
        IOException
      • isClosed

        boolean isClosed()
        Has close been called already?