For Programmers: Free Programming Magazines  


Home > Archive > Compression > March 2007 > Java compression library









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Java compression library
Roy

2007-03-16, 7:57 am

Hi,

I'm currently working on a JEE 2 project, building a webservice. In
this project we can receive files from another system in Gzip/Zip of
Bzip2. Now the problem is we need to unzip these files in Java. Does
any of you know a good library which supports all these formats?

I did find some libs that do zip and gzip, but they all don't support
bzip2. The only thing I found that has all three is commons.compress
but its unreleased, and we don't really want to use it since it still
has problems with bzip2.

Thanks in advance,

Roy van Rijn

James Colin

2007-03-19, 7:56 am

On Mar 16, 3:09 pm, "Roy" <roy.van.r...@gmail.com> wrote:
> Hi,
>
> I'm currently working on a JEE 2 project, building a webservice. In
> this project we can receive files from another system in Gzip/Zip of
> Bzip2. Now the problem is we need to unzip these files in Java. Does
> any of you know a good library which supports all these formats?
>
> I did find some libs that do zip and gzip, but they all don't support
> bzip2. The only thing I found that has all three is commons.compress
> but its unreleased, and we don't really want to use it since it still
> has problems with bzip2.
>
> Thanks in advance,
>
> Roy van Rijn


Hi Roy,
Did you try using java.util.zip for handling ZIP files

Did you try *bzip2 library from apache Ant* URL : http://www.kohsuke.org/bzip2/

James Colin


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com