获取邮编输入的修改时间
import java.io.IOException; import java.util.Date; import java.util.Enumeration; import java.util.zip.ZipEntry;/*时 代 Java 公 众 号 - nowjava.com*/ import java.util.zip.ZipFile; public class Main { public static void main(String args[]) { try { ZipFile zipFile = new ZipFile("c:/Folder/WebFiles.zip"); Enumeration e = zipFile.entries();// 来自 时 代 J a v a - nowjava.com System.out.print("File Name"); System.out.print("\t\t\t\tModification Time"); while (e.hasMoreElements()) { ZipEntry entry = (ZipEntry) e.nextElement(); String entryName = entry.getName(); Date modificationTime = new Date(entry.getTime()); System.out.print(entryName); System.out.print("\t\t\t\t" + modificationTime);