[
https://issues.apache.org/jira/browse/COMPRESS-656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17805054#comment-17805054
]
Vali Maties commented on COMPRESS-656:
--------------------------------------
I've made some more tests and seems the approach was not good, so I had to
delete the PR. As long as the packed size is not given, I must find another way
of building archive, or just simply live with this missing thing. Or maybe
someone come with a good idea of retrieving that needed value.
> SevenZArchiveEntry getCompressedSize() must be public
> -----------------------------------------------------
>
> Key: COMPRESS-656
> URL: https://issues.apache.org/jira/browse/COMPRESS-656
> Project: Commons Compress
> Issue Type: Improvement
> Components: Compressors
> Affects Versions: 1.25.0
> Reporter: Vali Maties
> Priority: Major
> Labels: SevenZArchiveEntry, entry-compressed-size
> Attachments: EntryCompressedSizePrivate.png, OriginalFileSize.png
>
>
> Please make the compressedSize property of SevenZArchiveEntry as observable
> property with getter. Having this property as observable, we can know in
> anytime the compressed size of an entry. Or maybe only a getter to existing
> compressedSize property.
> I've attached two screenshots with both original file size and the compressed
> size in SevenZArchiveEntry class, running my project in debbug.
>
> _*Edited:*_
> I've saw right now that already exists a getCompressedSize() method, but is
> private. Make that public, to be accessible, please.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)