使用ZipFile类打开Zip文件
import java.io.IOException; /** 来 自 nowjava **/ import java.util.zip.ZipFile; public class Main { public static void main(String args[]) { try { ZipFile zipFile = new ZipFile("c:/Folder/WebFiles.zip"); System.out.println(zipFile.getName() + " Opened for reading!"); zipFile.close(); /*来自 NowJava.com*/ } catch(IOException