/** * Construct an Image from a byte array of @a imageData * downloaded from a URL @a source. */ public Image(URL sourceURL, byte[] imageData) { // Set the URL. mSourceUrl = sourceURL; // Initialize other data members. mFilterName = null; mSucceeded = true; // Decode the imageData into a BufferedImage. setImage(imageData); }