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

ZipFile Builder lacks convenience constructors for File/Path

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Information Provided
    • 1.26.0
    • None
    • None
    • None

    Description

      The current Builder implementation appears to not have convenience methods for the most common construction scenarios e.g. construction from a File or Path.

      As ZipFile.builder().get() isn't valid, personally I think the Builder constructor itself should require a SeekableByteChannel/File/Path

      I tend to agree with Elliotte's comments (https://lists.apache.org/thread/5vtbbs18d4rntn8tpnpsvo0g9h6svc30), and would also see de-deprecating the one argument  constructors as a valid solution

      Attachments

        Activity

          People

            Unassigned Unassigned
            dan2097 Daniel Lowe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: