Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package android.graphics;
 
 
A basic stub implementation to use for testing.

Author(s):
Chris Hennigfeld
public class BitmapFactory {
	public static Bitmap decodeStream(InputStream inputthrows IOException {
		BufferedImage image = ImageIO.read(input);
		if (image == null) {
			return null;
		}
		return new Bitmap(image);
	}
New to GrepCode? Check out our FAQ X