从文件对象打开Zip文件
import java.io.File; import java.io.IOException;/** n o w j a v a . c o m 提 供 **/ import java.util.zip.ZipFile; public class Main { public static void main(String args[]) { try { File file = new File("c:/Folder/WebFiles.zip"); ZipFile zipFile = new ZipFile(file); System.out.println(zipFile.getName() + " Opened for reading!"); zipFile.close(); }catch(IOException ioe){ /*