I don't have access to a
Java compiler right now, or JBuilder, so what is compression method "8"? (We have constant named values for a reason.
)
Aside from that, I'm still a bit perplexed by your inner loop code. It seems as though only one element is added to your ArrayList, and internally, you're writing one byte at a time? Why not just do this?
And remove that new byte[18024] since it does nothing as far as I can see. Same with 'int len'. As for the rest, it might have something to do with zos.setMethod(8). Did you mean zos.setLevel(8)?
Sorry if this doesn't help at all. Like I said, I have no access to a compiler right now to
test it.
[ February 07, 2006: Message edited by: Jeremy Tartaglia ]