commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Bodewig (JIRA)" <>
Subject [jira] [Resolved] (COMPRESS-323) Make ZipFile.getRawInputStream() part of the public API
Date Fri, 29 Jan 2016 21:00:41 GMT


Stefan Bodewig resolved COMPRESS-323.
    Resolution: Fixed

given addRawArchiveEntry in ZipArchiveOutputStream is public, there is little point in keeping
this one private, you are right.

It has become public with git commit 7a6e507

> Make ZipFile.getRawInputStream() part of the public API
> -------------------------------------------------------
>                 Key: COMPRESS-323
>                 URL:
>             Project: Commons Compress
>          Issue Type: Wish
>          Components: Archivers
>    Affects Versions: 1.10
>            Reporter: Zlika
>            Priority: Minor
>             Fix For: 1.11
> I have a use case where I would need to use ZipFile.getRawInputStream(ZipArchiveEntry).
I would like to do a raw copy of the content of a Zip entry from one Zip file to another,
BUT I would also like to change some parts of the Zip entry header (extra fields, attributs...).
> Currently I have a use reflection to do that, so it would be great if this method would
be part of the public API.

This message was sent by Atlassian JIRA

View raw message