public class ImageCache extends Object
| Constructor and Description |
|---|
ImageCache(int maxSize,
File dir) |
| Modifier and Type | Method and Description |
|---|---|
File |
getCacheDirectory() |
ScaledImage |
getImage(String ref) |
void |
setImage(ScaledImage scaledImage) |
public ImageCache(int maxSize,
File dir)
public File getCacheDirectory()
public ScaledImage getImage(String ref) throws IOException
IOExceptionpublic void setImage(ScaledImage scaledImage) throws IOException
IOExceptionCopyright © 2009–2021 Norconex Inc.. All rights reserved.