You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Stefan Bodewig (JIRA)" <ji...@apache.org> on 2013/02/11 15:31:14 UTC
[jira] [Commented] (COMPRESS-214) better support for unix symlinks
[ https://issues.apache.org/jira/browse/COMPRESS-214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13575809#comment-13575809 ]
Stefan Bodewig commented on COMPRESS-214:
-----------------------------------------
I went ahead and moved the method from ZipArchiveEntry to ZipFile in revision 1444779 - and added a tiny bit of documentation with 1444780 so people know how to do it using ZipArchiveInputStream. it would be great if you found the time to review the changes.
Sorry for being impatient, but I'd love to cut a new release really soon.
> better support for unix symlinks
> --------------------------------
>
> Key: COMPRESS-214
> URL: https://issues.apache.org/jira/browse/COMPRESS-214
> Project: Commons Compress
> Issue Type: Improvement
> Components: Archivers
> Reporter: Julius Davies
> Assignee: Julius Davies
> Priority: Minor
> Fix For: 1.5
>
> Attachments: COMPRESS-214.patch, COMPRESS-214_unix_symlinks.zip
>
>
> The current API is a little awkward when dealing with symlinks (e.g., those created using Info-Zip's "zip -y").
> I propose the following three methods for ZipArchiveEntry:
> {noformat}
> public boolean isUnixSymlink()
> public String getUnixSymlink(ZipFile zf)
> public String getUnixSymlink(ZipFile zf, String pathCharset)
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira