Code example for Manifest

Methods: clear, getEntries, getMainAttributes

0
                "com.ibm.ive.eccomm.client.services.authentication; specification-version=1.0.0,com.ibm.ive.eccomm.service.authentication; specification-version=1.0.0,com.ibm.ive.eccomm.common; specification-version=1.0.0,com.ibm.ive.eccomm.client.services.registry.store; specification-version=1.0.0"); 
        assertAttribute( 
                main,
                "Export-Service", 
                "com.ibm.ive.eccomm.service.authentication.AuthenticationService,com.ibm.ive.eccomm.service.session.SessionService"); 
        assertAttribute(main, "Bundle-Vendor", "IBM");
        assertAttribute(main, "Bundle-Version", "1.2.0");
    } 
 
    /** 
     * @tests java.util.jar.Manifest#Manifest(java.io.InputStream) 
     */ 
    @TestTargetNew( 
        level = TestLevel.COMPLETE, 
        notes = "IOException checking missed.", 
        method = "Manifest", 
        args = {java.io.InputStream.class}
    ) 
    public void test_ConstructorLjava_io_InputStream() throws IOException { 
        Manifest m = getManifest(attJarName);
        ByteArrayOutputStream baos = new ByteArrayOutputStream();