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