Code example for Attributes

0
        if (attributes == null)
        { 
            final Manifest man = ((JarFile) getZipFile()).getManifest();
            if (man == null)
            { 
                attributes = new Attributes(1);
            } 
            else 
            { 
                attributes = man.getMainAttributes();
                if (attributes == null)
                { 
                    attributes = new Attributes(1);
                } 
            } 
        } 
 
        return attributes;
    } 
 
    Object getAttribute(Name attrName)