From: John L. <je...@pi...> - 2003-03-03 18:37:41
|
Hi Trevor The java.util.zip interface and implementations allow you to read and write ".zip" files.=20 This file format is the same as used by other zip tools. The compression formats used are the same as those provided by the zlib library.=20 So I think the answer to your question is 'yes'. It occurred to me that some environments (J2ME) might want to have support for decompressing a datastream without shipping the bytecode for decompression. It should be possible to separate these classes and work out exactly what the dependencies are. You might have problems using code like ZipFile because it depends on HashMap and a bunch of other classes from the J2SE libraries that may not be available in your J2ME environment. It shouldn't be too hard to rewrite it so that it works.=20 John Leuner On Mon, 2003-03-03 at 13:56, Trevor Balcom wrote: > I am thinking about using jazzlib with J2ME for my data compression.=20 > Is this the same method of compression that PKWARE uses? I need to > implement the same compression on the other side for Windows NT. We > have used PKWARE explode/implode for quite some time along with zlib > on the Windows side. Is java.util.zip the same as the PKWARE zip > compression ? --=20 John Leuner <je...@pi...> |