Uploaded image for project: 'Commons Compress'
  1. Commons Compress
  2. COMPRESS-269

Common interface for SevenZFile and ArchiveInputStream

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 1.8
    • 2.0
    • Archivers
    • None

    Description

      Both SevenZFile and ArchiveInputStream (effectively) have a method on them:

      ArchiveEntry getNextEntry()

      However, they don't share a common interface or parent which defines this, so it isn't possible to write generic code which would work with either to read archive entries out

      For Apache Tika, it would be good if after our 7z specific opening code, we could then use common code to read out and process the archive entries no matter what the archive format was

      Attachments

        Activity

          People

            Unassigned Unassigned
            nick Nick Burch
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: