/** * Prints a JavaScript script that will preload the image at the provided URL. */ public ChainWriter writeHtmlImagePreloadJavaScript(String url) throws IOException { writeHtmlImagePreloadJavaScript(url, out); return this; }
/** * @deprecated Please use writeHtmlImagePreloadJavaScript instead. */ public ChainWriter printImagePreloadJS(String url) throws IOException { return writeHtmlImagePreloadJavaScript(url); }