Back to project page Munin-for-Android.
The source code is released under:
GNU General Public License
If you think the Android project Munin-for-Android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.chteuchteu.munin.obj; // www. ja va 2 s .c o m import android.graphics.Bitmap; /** * Object returned from a bitmap download operation */ public class HTTPResponse_Bitmap extends HTTPResponse { private Bitmap bitmap; public HTTPResponse_Bitmap() { super(); } public void setBitmap(Bitmap val) { this.bitmap = val; } public Bitmap getBitmap() { return this.bitmap; } /** * Same as hasSuceeded(), but doesn't test if bitmap == null */ public boolean requestSucceeded() { return super.hasSucceeded(); } @Override public boolean hasSucceeded() { return super.hasSucceeded() && this.bitmap != null; } }