0
我有一個zip文件中的zip文件。所以,我需要遞歸unzip.The輸入進來的字節數組如何通過ZipEntry遞歸循環
zis = new ZipInputStream(new ByteArrayInputStream((byte[])byteArray));
while((entry = zis.getNextEntry()) != null)
{
processZip(entry, byteArray);
}
裏面的processZip(入口,字節陣列)我讀單個條目。當輸入值是一個zip文件時,我該如何處理它。如何將zipentry對象轉換爲Zipfile或枚舉它?