org.apache.batik.svggen
public class CachedImageHandlerJPEGEncoder extends DefaultCachedImageHandler
Field Summary | |
---|---|
static String | CACHED_JPEG_PREFIX |
static String | CACHED_JPEG_SUFFIX |
protected String | refPrefix |
Constructor Summary | |
---|---|
CachedImageHandlerJPEGEncoder(String imageDir, String urlRoot) |
Method Summary | |
---|---|
void | encodeImage(BufferedImage buf, OutputStream os)
Uses JPEG encoding. |
int | getBufferedImageType() |
String | getRefPrefix() |
Parameters: imageDir directory where this handler should generate images. If null, an IllegalArgumentException is thrown. urlRoot root for the urls that point to images created by this image handler. If null, then the url corresponding to imageDir is used.