Code example for JarEntry

Methods: getName

0
        this.content = content;
        this.ibiscEntry = ibiscEntry;
    } 
    
    private IbiscEntry getIbiscEntry() { 
        String iname = jarEntry.getName();
        if (iname.endsWith(".class")) {
            try { 
                ClassInfo cl = Ibisc.w.parseInputStream(getInputStream(),
                            iname);
                IbiscEntry entry = new IbiscEntry(cl, iname, jarInfo);
                Ibisc.allClasses.put(cl.getClassName(), entry);
                return entry;
            } catch(IOException e) {
                System.err.println("Ibisc: warning: could not read "
                        + "class " + iname + " from jar file "
                        + jarInfo.getName());
            } 
        } 
        return null; 
    }