Code example for ZipFile

Methods: entries

0
 
   public Enumeration<? extends ZipEntry> getEntries() {
      if (zipArchive == null)
         throw new IllegalStateException("Zip File is closed");
       
      return zipArchive.entries();
   } 
 
   public InputStream getInputStream(ZipEntry entry) throws IOException {
      if (zipArchive == null)
         throw new IllegalStateException("Zip File is closed");
       
      return zipArchive.getInputStream(entry);
   } 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE