ZipEntry Entry = null;
ZipFile z = new ZipFile("Your zip path\\file");
Enumeration en = z.entries();for ( ; en.hasMoreElements(); ) {
String s = en.nextElement().toString();
Entry = z.getEntry(s);
if (Entry == null) {
continue;
} s = new String(s.getBytes("8859_1"), "GB2312");
System.out.println(s);
}
ZipFile z = new ZipFile("Your zip path\\file");
Enumeration en = z.entries();for ( ; en.hasMoreElements(); ) {
String s = en.nextElement().toString();
Entry = z.getEntry(s);
if (Entry == null) {
continue;
} s = new String(s.getBytes("8859_1"), "GB2312");
System.out.println(s);
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货