上述文件扩展名在这里解释为http://kb.iu.edu/data/abck.html。我想用java api来读取Z文件的内容。 ZipFile api或GZIPInputStream似乎都不起作用。我可以使用ZipFile API来打开普通的.zip文件。用Java读取.Z文件(unix压缩文件)
ZipFile zf = new ZipFile("CR93H2.Z");
Enumeration entries = zf.entries();
要添加,所述.Z文件在winrar中打开罚款。
有谁知道它的解决方案。
感谢
请参阅[我需要使用java提取.tar.Z文件](http://stackoverflow.com/q/15039566/309483) – 2013-06-25 19:28:17