Code example for JarEntry

Methods: getAttributes

0
     * @see #getJarEntry 
     */ 
    public Attributes getAttributes() throws IOExceptionJarEntry e = getJarEntry();
        return e != null ? e.getAttributes() : null;
    } 
 
    /** 
     * Returns the main Attributes for the JAR file for this connection. 
     * 
     * @return the main Attributes for the JAR file for this connection. 
     * @exception IOException if getting the manifest causes an IOException to be thrown. 
     * @see #getJarFile 
     * @see #getManifest 
     */ 
    public Attributes getMainAttributes() throws IOExceptionManifest man = getManifest();
        return man != null ? man.getMainAttributes() : null;