[
https://issues.apache.org/jira/browse/COMPRESS-478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16911355#comment-16911355
]
Stefan Bodewig commented on COMPRESS-478:
-----------------------------------------
[https://github.com/kornelski/7z/blob/master/CPP/7zip/UI/Common/DefaultName.cpp]
One can argue whether Compress should deal with this at all. In a way Compress
is at the same level as the 7zip library code, and it simply returns a {{null}}
name. It is 7zips "UI" code that changes the name to be the default name. In
our case the UI would be the code calling {{SevenZFile}}.
I'll add a {{getDefaultName}} Method to {{SevenZFile}} along with an option to
set {{null}} names to the default name - but by default will not change the
name contained inside of the archive.
> compress should handle ".zim" files as well (especially customized for
> wikipedia pages)
> ---------------------------------------------------------------------------------------
>
> Key: COMPRESS-478
> URL: https://issues.apache.org/jira/browse/COMPRESS-478
> Project: Commons Compress
> Issue Type: Wish
> Components: Compressors
> Environment: $ uname -a
> Linux niggahme 4.9.0-6-amd64 #1 SMP Debian 4.9.82-1+deb9u3 (2018-03-02)
> x86_64 GNU/Linux
> $ java -version
> openjdk version "1.8.0_171"
> OpenJDK Runtime Environment (build 1.8.0_171-8u171-b11-1~deb9u1-b11)
> OpenJDK 64-Bit Server VM (build 25.171-b11, mixed mode)
> $ javac -version
> javac 1.8.0_171
> $
> Reporter: Albretch Mueller
> Priority: Critical
> Fix For: 1.19
>
>
> Based on the discussion started on the mailing list:
> // __ no name listed for file contained in a 7z file?
>
> [https://lists.apache.org/thread.html/7283eb6ad046a4e4cac97761ece777daead2504081521f277b9ff3c3@%3Cuser.commons.apache.org%3E]
> There are discrepancies between the handling of the Linux 7z utilities and
> how apache.compress is handling them.
> Ideally one should be able to selectively access and decompress files in a
> tax ball as you do with zip and gzip files.
>
>
--
This message was sent by Atlassian Jira
(v8.3.2#803003)