You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Bear Giles (JIRA)" <ji...@apache.org> on 2011/07/06 22:33:16 UTC

[jira] [Commented] (COMPRESS-136) Create common POSIXArchiveEntry for use with tar/cpio/dump

    [ https://issues.apache.org/jira/browse/COMPRESS-136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13060813#comment-13060813 ] 

Bear Giles commented on COMPRESS-136:
-------------------------------------

Implementation note: Java 7 will add two packages with similar content. See http://download.java.net/jdk7/docs/api/index.html?java/nio/file/Files.html

More info: http://java.sun.com/developer/technicalArticles/javase/nio/

Obviously the CC classes can't use J7 classes but it could useful as a model for method names and the like.

> Create common POSIXArchiveEntry for use with tar/cpio/dump
> ----------------------------------------------------------
>
>                 Key: COMPRESS-136
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-136
>             Project: Commons Compress
>          Issue Type: Improvement
>          Components: Archivers
>            Reporter: Bear Giles
>            Priority: Minor
>
> There's currently a top-level ArchiveEntry but many archivers are for POSIX (or POSIX-like) filesystems with standard attributes - ownership, permissions, access times, etc. By creating a common ArchiveEntry class for these attributes it will be much easier to write archive-agnostic extraction software. (Many of the existing methods should be marked 'deprecated' but left in place indefinitely.)
> I have a prototype of this class in my dump patch.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira