commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Carman <ja...@carmanconsulting.com>
Subject Re: [compress] uncompress utility?
Date Thu, 20 Dec 2012 12:10:38 GMT
You could perhaps use Commons VFS.  It supports all the file types you
mention and gives you a common API to deal with.

On Thu, Dec 20, 2012 at 1:30 AM, Ryan McKinley <ryantxu@gmail.com> wrote:
> I'm looking at options for how to take an archive file (zip,gz,tar,etc) and
> extract it to the file system.  (like running unzip file.zip -d folder)
>
> I see org.apache.commons.compress.archivers.Lister, but I don't see any
> obvious (general) way to write this to disk.
>
> Any suggestions for how to best approach this?  The application needs to be
> cross platform and many systems will not have reasonable system tools to
> rely on.
>
> Thanks
> Ryan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message