• Post Reply Bookmark Topic Watch Topic
  • New Topic

compress / decompress issues with java.util.zip libraries  RSS feed

Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm having problems with deflating / inflating code. Before I go farther, here's my code...

Here's how I call it...

Here's the line of output I get from the testZip println...

As you can see, I use the code from the inflateDeflate method and it works just fine.

However, when I invoke just the deflate method and hand it the output from inflate, I get the following runtime error:

except for the line:

that I put into the deflator trying to solve the problem, this code comes directly out of the Java online docs.

Anyone have a suggestion?
He's my best friend. Not yours. Mine. You can have this tiny ad:
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!