This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
Welcome to the JavaRanch, repton. You must have missed our naming policy on the way in. In short, we ask that everyone use a first and last name, seperated by a space and not obviously fake as their display name. You can change your name here. As for your question, you can always use Runtime.exec() to invoke compress/decompress, or you can read up on how Lempel-Ziv compression works and create your own class. [ September 29, 2006: Message edited by: Joe Ess ]
My bad. I missed the java part and wondered why you didn't post in the unix forum.
The ant task gunzip works for .gz, doesn't seem to work for .Z (although the gunzip unix command I just tried did work on a compressed .Z). FYI, I don't think .z and .Z are the same thing. [ September 29, 2006: Message edited by: Carol Enderlin ]