All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.dongliu.apk.parser.bean.Icon Maven / Gradle / Ivy

There is a newer version: 2.6.10
Show newest version
package net.dongliu.apk.parser.bean;

import java.util.Arrays;

/**
 * The apk icon file path, and data
 *
 * @author Liu Dong
 */
public class Icon {

    private final String path;
    private final byte[] data;

    public Icon(String path, byte[] data) {
        this.path = path;
        this.data = data;
    }

    public String getPath() {
        return path;
    }

    public byte[] getData() {
        return data;
    }

    @Override
    public String toString() {
        return "Icon{path='" + path + '\'' + ", size=" + (data == null ? 0 : data.length) + '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy