commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bear Giles (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (COMPRESS-136) Create common POSIXArchiveEntry for use with tar/cpio/dump
Date Wed, 06 Jul 2011 20:33:16 GMT

    [ 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

        

Mime
View raw message