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

CompressorStreamFactory should support stream auto-detection

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.0
    • 1.1
    • None
    • None

    Description

      I propose to add bzip2/gzip input stream detection to CompressorStreamFactory based on magic numbers (the same way it is done for ArchiveStreamFactory).
      Also "bzip2" and "gz" constants should be declared as "public static final String" constants to be referred by constant name (not ugly value).

      Attachments

        Activity

          People

            Unassigned Unassigned
            dma_k Dmitry Katsubo
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: