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

CompressorStreamFactory should support stream auto-detection

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: 1.1
    • Component/s: None
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: