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 <[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to