Code example for JarEntry

Methods: isDirectory

0
        } 
 
        if (!manifestLoaded) {
            JarEntry manifestEntry = getBaseEntry("META-INF/MANIFEST.MF");
 
            if (manifestEntry != null && !manifestEntry.isDirectory()) {
                InputStream in = null;
                try { 
                    in = baseJar.getInputStream(manifestEntry);
                    manifest = new Manifest(in);
                } finally { 
                    if (in != null) {
                        try { 
                            in.close();
                        } catch (IOException e) {
                            // ignore 
                        } 
                    } 
                } 
            }