The said file extension is explained here at http://kb.iu.edu/data/abck.html. I want to use a java api to read the contents of a Z file. Neither the ZipFile api or the GZIPInputStream seem to work. I can use the ZipFile api to open normal .zip files.
ZipFile zf = new ZipFile("CR93H2.Z");
Enumeration entries = zf.entries();
To add, the said .Z file opens up fine in winrar.
Does anyone know about the solution to it.
Thanks
解决方案
% svn checkout --quiet http://compress-j2me.googlecode.com/svn/trunk/ compj2me
% cd compj2me/src/lzc-test
% ant -q
% cd build/cmd
% echo "testdonkeyballs" | compress | java com.googlecode.compress_j2me.lzc.Main -d
testdonkeyballs