如何在不使用ZipFile类的情况下从ZipInputStream获取ZipEntry的InputStream? 最佳答案 它是这样工作的staticInputStreamgetInputStream(Filezip,Stringentry)throwsIOException{ZipInputStreamzin=newZipInputStream(newFileInputStream(zip));for(ZipEntrye;(e=zin.getNextEntry())!=null;){if(e.getName().equals(en