decompress Huffmann with java.util.zip?

decompress Huffmann with java.util.zip?

Post by Andrei Kou » Fri, 31 Dec 2004 03:45:54


Hi all,

I know that Zip uses Huffmann-Compression.
Is there some way to (mis)use Deflater or may be
ZipInputStream to decompress data compressed with Huffman compression?

thanks

--
Andrey Kuznetsov
http://www.yqcomputer.com/ Unified I/O for Java
http://www.yqcomputer.com/ Java image reader
http://www.yqcomputer.com/ Java GUI components and utilities
 
 
 

decompress Huffmann with java.util.zip?

Post by ByteCode » Fri, 31 Dec 2004 03:58:10


If Huffmann compression is the default for any zip file than yes, you
can use the zipinputstream.

--
-------------
- ByteCoder - ...I see stupid people
-------------
Curiosity *Skilled* the cat

 
 
 

decompress Huffmann with java.util.zip?

Post by Andrey Kuz » Fri, 31 Dec 2004 04:19:16

>> Hi all,

what is zipinputstream? Do you mean java.util.zip.ZipInputStream?
ZipInputStream is awaiting data in defined format so may be I have to
prepare
my data.

--
Andrey Kuznetsov
http://www.yqcomputer.com/ Unified I/O for Java
http://www.yqcomputer.com/ Java image reader
http://www.yqcomputer.com/ Java GUI components and utilities
 
 
 

decompress Huffmann with java.util.zip?

Post by Chris Uppa » Fri, 31 Dec 2004 05:01:49


No.

-- chris
 
 
 

decompress Huffmann with java.util.zip?

Post by Andrey Kuz » Fri, 31 Dec 2004 05:53:17

>> I know that Zip uses Huffmann-Compression.

:-(

--
Andrey Kuznetsov
http://www.yqcomputer.com/ Unified I/O for Java
http://www.yqcomputer.com/ Java image reader
http://www.yqcomputer.com/ Java GUI components and utilities
 
 
 

decompress Huffmann with java.util.zip?

Post by ByteCode » Fri, 31 Dec 2004 06:00:21


Sorry, I meant java.util.zip.ZipInputStream.

--
-------------
- ByteCoder - ...I see stupid people
-------------
Curiosity *Skilled* the cat