/** * <span style="color:red">POTENIAL PERFORMANCE KILLER - DOWNLOADS THE IMAGE - USE AT YOUR OWN RISK.</span><br/> * If the image is not already downloaded it triggers a download. Then it stores the image in the HtmlImage * object for later use.<br/> * * @return the ImageReader representing the image from the download stream * @throws IOException if an error occurs while downloading the image and if its of an unsupported content-type */ public ImageReader getImageReader() throws IOException { readImageIfNeeded(); return imageReader_; }
/** * <span style="color:red">POTENIAL PERFORMANCE KILLER - DOWNLOADS THE IMAGE - USE AT YOUR OWN RISK.</span><br/> * If the image is not already downloaded it triggers a download. Then it stores the image in the HtmlImage * object for later use.<br/> * * @return the ImageReader representing the image from the download stream * @throws IOException if an error occurs while downloading the image and if its of an unsupported content-type */ public ImageReader getImageReader() throws IOException { readImageIfNeeded(); return imageReader_; }
/** * <span style="color:red">POTENIAL PERFORMANCE KILLER - DOWNLOADS THE IMAGE - USE AT YOUR OWN RISK.</span><br/> * If the image is not already downloaded it triggers a download. Then it stores the image in the HtmlImage * object for later use.<br/> * * @return the ImageReader representing the image from the download stream * @throws IOException if an error occurs while downloading the image and if its of an unsupported content-type */ public ImageReader getImageReader() throws IOException { readImageIfNeeded(); return imageReader_; }
/** * <p>Returns the <tt>ImageReader</tt> which can be used to read the image contained by this image element.</p> * <p><span style="color:red">POTENTIAL PERFORMANCE KILLER - DOWNLOADS THE IMAGE - USE AT YOUR OWN RISK</span></p> * <p>If the image has not already been downloaded, this method triggers a download and caches the image.</p> * * @return the <tt>ImageReader</tt> which can be used to read the image contained by this image element * @throws IOException if an error occurs while downloading or reading the image */ public ImageReader getImageReader() throws IOException { readImageIfNeeded(); return imageData_.getImageReader(); }
/** * <span style="color:red">POTENIAL PERFORMANCE KILLER - DOWNLOADS THE IMAGE - USE AT YOUR OWN RISK.</span><br/> * If the image is not already downloaded it triggers a download. Then it stores the image in the HtmlImage * object for later use.<br/> * * @return returns the real height of the image * @throws IOException if an error occurs while downloading the image or reading it */ public int getHeight() throws IOException { readImageIfNeeded(); return imageReader_.getHeight(0); }
/** * <span style="color:red">POTENIAL PERFORMANCE KILLER - DOWNLOADS THE IMAGE - USE AT YOUR OWN RISK.</span><br/> * If the image is not already downloaded it triggers a download. Then it stores the image in the HtmlImage * object for later use.<br/> * * @return returns the real height of the image * @throws IOException if an error occurs while downloading the image or reading it */ public int getHeight() throws IOException { readImageIfNeeded(); return imageReader_.getHeight(0); }
/** * <span style="color:red">POTENIAL PERFORMANCE KILLER - DOWNLOADS THE IMAGE - USE AT YOUR OWN RISK.</span><br/> * If the image is not already downloaded it triggers a download. Then it stores the image in the HtmlImage * object for later use.<br/> * * @return returns the real width of the image * @throws IOException if an error occurs while downloading the image or reading it */ public int getWidth() throws IOException { readImageIfNeeded(); return imageReader_.getWidth(0); }
/** * <span style="color:red">POTENIAL PERFORMANCE KILLER - DOWNLOADS THE IMAGE - USE AT YOUR OWN RISK.</span><br/> * If the image is not already downloaded it triggers a download. Then it stores the image in the HtmlImage * object for later use.<br/> * * @return returns the real width of the image * @throws IOException if an error occurs while downloading the image or reading it */ public int getWidth() throws IOException { readImageIfNeeded(); return imageReader_.getWidth(0); }
/** * <span style="color:red">POTENIAL PERFORMANCE KILLER - DOWNLOADS THE IMAGE - USE AT YOUR OWN RISK.</span><br/> * If the image is not already downloaded it triggers a download. Then it stores the image in the HtmlImage * object for later use.<br/> * * @return returns the real width of the image * @throws IOException if an error occurs while downloading the image or reading it */ public int getWidth() throws IOException { readImageIfNeeded(); return imageReader_.getWidth(0); }
/** * <span style="color:red">POTENIAL PERFORMANCE KILLER - DOWNLOADS THE IMAGE - USE AT YOUR OWN RISK.</span><br/> * If the image is not already downloaded it triggers a download. Then it stores the image in the HtmlImage * object for later use.<br/> * * @return returns the real height of the image * @throws IOException if an error occurs while downloading the image or reading it */ public int getHeight() throws IOException { readImageIfNeeded(); return imageReader_.getHeight(0); }
/** * <p>Returns the <tt>ImageReader</tt> which can be used to read the image contained by this image element.</p> * <p><span style="color:red">POTENTIAL PERFORMANCE KILLER - DOWNLOADS THE IMAGE - USE AT YOUR OWN RISK</span></p> * <p>If the image has not already been downloaded, this method triggers a download and caches the image.</p> * * @return the <tt>ImageReader</tt> which can be used to read the image contained by this image element * @throws IOException if an error occurs while downloading or reading the image */ public ImageReader getImageReader() throws IOException { readImageIfNeeded(); return imageData_.getImageReader(); }