commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arno Unkrig (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (COMPRESS-292) Add support for virtual formats
Date Mon, 03 Nov 2014 05:24:33 GMT

     [ https://issues.apache.org/jira/browse/COMPRESS-292?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Arno Unkrig updated COMPRESS-292:
---------------------------------
    Description: 
Hello COMPRESS team!

Most applications know at compile-time which archive/compression format they want to use,
but some don't. {{ArchiveStreamFactory}} and {{CompressorStreamFactory}} provide minimal support
for runtime format processing, but more comprehensive handling would be greatly appreciated.

I propose the addition of the {{ArchiveFormat}} and {{CompressionFormat}} interfaces, together
with their factories, to implement the following:

* Detection of archive/compression formats from contents, file name or format name
* Conversion of archive/compressed file names, e.g. "mydir" => "mydir.tar" => "mydir.tar.gz"
* Runtime extensibility through format auto-registration
* Writing archive entries without knowing the archive type at compile-time
* Automated conversion of archive entries when copying from one format to another

A sample design is available [here|https://svn.code.sf.net/p/loggifier/code/trunk/de.unkrig.commons.file/src/de/unkrig/commons/file/org/apache/commons/compress/].
If you like it, I would gladly donate it to the the project. The current license is "New BSD",
which is (hopefully) compatible with yours.

Regards,
Arno Unkrig

  was:
Hello COMPRESS team!

Most applications know at compile-time which archive/compression format they want to use,
but some don't. {{ArchiveStreamFactory}} and {{CompressorStreamFactory}} provide minimal support
for runtime format processing, but more comprehensive handling would be greatly appreciated.

I propose the addition of the {{ArchiveFormat}} and {{CompressionFormat}} interfaces, together
with their factories, to implement the following:

* Detection of archive/compression formats from contents, file name or format name
* Conversion of archive/compressed file names, e.g. "mydir" => "mydir.tar" => "mydir.tar.gz"
* Runtime extensibility through format auto-registration
* Writing archive entries without knowing he archive type at compile-time
* Automated conversion of archive entries when copying from one format to another

A sample design is available [here|https://svn.code.sf.net/p/loggifier/code/trunk/de.unkrig.commons.file/src/de/unkrig/commons/file/org/apache/commons/compress/].
If you like it, I would gladly donate it to the the project. The current license is "New BSD",
which is (hopefully) compatible with yours.

Regards,
Arno Unkrig


> Add support for virtual formats
> -------------------------------
>
>                 Key: COMPRESS-292
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-292
>             Project: Commons Compress
>          Issue Type: New Feature
>          Components: Archivers, Compressors
>    Affects Versions: 1.9
>            Reporter: Arno Unkrig
>
> Hello COMPRESS team!
> Most applications know at compile-time which archive/compression format they want to
use, but some don't. {{ArchiveStreamFactory}} and {{CompressorStreamFactory}} provide minimal
support for runtime format processing, but more comprehensive handling would be greatly appreciated.
> I propose the addition of the {{ArchiveFormat}} and {{CompressionFormat}} interfaces,
together with their factories, to implement the following:
> * Detection of archive/compression formats from contents, file name or format name
> * Conversion of archive/compressed file names, e.g. "mydir" => "mydir.tar" => "mydir.tar.gz"
> * Runtime extensibility through format auto-registration
> * Writing archive entries without knowing the archive type at compile-time
> * Automated conversion of archive entries when copying from one format to another
> A sample design is available [here|https://svn.code.sf.net/p/loggifier/code/trunk/de.unkrig.commons.file/src/de/unkrig/commons/file/org/apache/commons/compress/].
If you like it, I would gladly donate it to the the project. The current license is "New BSD",
which is (hopefully) compatible with yours.
> Regards,
> Arno Unkrig



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message