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

Sebb updated COMPRESS-195:
--------------------------

    Attachment: Archiver.java

Sample archiver class
                
> Additional command-line utility classes
> ---------------------------------------
>
>                 Key: COMPRESS-195
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-195
>             Project: Commons Compress
>          Issue Type: New Feature
>            Reporter: Sebb
>         Attachments: Archiver.java
>
>
> There is a Lister command-line utility which can be used to list the contents 
> of any archive.
> It might be useful to have corresponding simple extraction / creation 
> utilities for archive and compressed formats.
> For example:
> + archive contents of a directory (see attached)
> + extract archive into directory
> + compress/decompress files
> The existing Lister class is the only main() class at present, and is set as 
> the default entry point for the jar. This means users don't have to provide 
> the class name on the command line.
> It would be useful to extend this feature to cover the other command-line 
> utilities.
> For example, create a new Main class as the default entry point, but delegate 
> to the existing class if there are 1 or two parameters.
> Otherwise, delegate to the appropriate new utility class, e.g. based on a 
> command-line flag.
> Users would still be able to invoke the individual classes directly.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to