Code example for ZipEntry

Methods: getNameisDirectory

0
                timeToLive);
    } 
 
    @Override 
    public boolean isDirectory() { 
        if ("".equals(entry.getName()))
            return true; 
        return entry.isDirectory();
    } 
 
    @Override 
    public boolean isNormal() { 
        return !entry.isDirectory();
    } 
 
}