Code example for ZipEntry

Methods: getSize

0
        if (mIconFile != null && path != null) {
            try { 
                ZipEntry entry = mIconFile.getEntry(path);
                if (entry != null) {
                    if (size != null)
                        size[0] = entry.getSize();
                    return mIconFile.getInputStream(entry);
                } 
            } catch (IOException e) {
            } 
        } 
        return null; 
    } 
 
    public boolean hasIcon(String path) {
        return mIconFile != null && path != null && mIconFile.getEntry(path) != null;
    } 
 
    public InputStream getFancyWallpaperFileStream(String path, long[] size) {
        if (mFancyWallpaperFile != null) {
            try {