Code example for ZipEntry

Methods: getSize

0
    public String getAbsolutePath() {
        return new File(file.getName()).getAbsolutePath() + '!' + entry.getName();
    } 
 
    public long getSize() { 
        return entry.getSize();
    } 
 
    public InputStream getInputStream() throws IOException {
        return file.getInputStream(entry);
    } 
 
    @Override 
    public boolean equals(Object obj) { 
        if (obj == this)
            return true; 
        if (!(obj instanceof ZipScannedItem)) 
            return false; 
        return file.equals(((ZipScannedItem)obj).file) && entry.equals(((ZipScannedItem)obj).entry);
    }