|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.batik.svggen.ImageCacher
public abstract class ImageCacher
This class implements caching functionality for raster images.
| Nested Class Summary | |
|---|---|
static class |
ImageCacher.Embedded
Cache implementation for images embedded in the SVG file. |
static class |
ImageCacher.External
Cache implementation for file-based images. |
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
ImageCacher()
Creates an ImageCacher. |
|
ImageCacher(DOMTreeManager domTreeManager)
Creates an ImageCacher. |
|
| Constructor Detail |
|---|
public ImageCacher()
public ImageCacher(DOMTreeManager domTreeManager)
domTreeManager - the DOMTreeManager for the tree this cacher works on| Method Detail |
|---|
public void setDOMTreeManager(DOMTreeManager domTreeManager)
domTreeManager - the DOMTreeManager for the tree this cacher works onpublic DOMTreeManager getDOMTreeManager()
public java.lang.String lookup(java.io.ByteArrayOutputStream os,
int width,
int height,
SVGGeneratorContext ctx)
throws SVGGraphics2DIOException
os - the image as a byte streamwidth - the width of the imageheight - the height of the imagectx - the SVGGeneratorContext
SVGGraphics2DIOException - if an error occurs during image file i/o
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: | ||||||||||