Code example for Manifest

Methods: getEntries, getMainAttributes

0
        } 
    } 
 
    private Manifest getManifest(String fileName) {
        try { 
            Support_Resources.copyFile(resources, null, fileName);
            JarFile jarFile = new JarFile(new File(resources, fileName));
            Manifest m = jarFile.getManifest();
            jarFile.close();
            return m;
        } catch (Exception e) {
            fail("Exception during setup: " + e.toString());
            return null; 
        } 
    } 
 
    /** 
     * @tests java.util.jar.Manifest#Manifest() 
     */ 
    @TestTargetNew( 
        level = TestLevel.COMPLETE,