I don't believe there's a stock Java class to read .Z files created by the Unix "compress" program.
Compress has been largely supplanted by gzip anymore - I believe that it was disqualified from inclusion in Linux due to licensing restrictions. Someone holds a patent on the algorithm or something like that.
Although a little googling makes me suspect that some versions of gzip and compress are compatible, originally this wasn't supposed to be the case. If your ".Z" file can be uncompressed with the gunzip utility, you could try the unzip java class and see if that works.
Customer surveys are for companies who didn't pay proper attention to begin with.
Joined: Jan 31, 2004
Thank you for your reply.
I googled, and found a class. It does work pretty well: