Code example for ZipInputStream

Methods: close

0
    } 
 
    @Override 
    protected void tearDown() throws IOException { 
        if (zis != null) {
            zis.close();
        } 
    } 
 
    public void test_skipJ() throws Exception { 
        File resources = Support_Resources.createTempFolder();
        Support_Resources.copyFile(resources, null, "Broken_manifest.jar");
        FileInputStream fis = new FileInputStream(new File(resources,
                "Broken_manifest.jar")); 
 
        ZipInputStream zis1 = new ZipInputStream(fis);
 
        zis1.getNextEntry();
        zis1.getNextEntry();
 
        try {