public class BufferedImageCacheEntry extends CacheEntry
| Modifier and Type | Field and Description |
|---|---|
private boolean |
imageLoaded |
private java.awt.image.BufferedImage |
img |
private static long |
serialVersionUID |
content| Constructor and Description |
|---|
BufferedImageCacheEntry(byte[] content) |
| Modifier and Type | Method and Description |
|---|---|
java.awt.image.BufferedImage |
getImage()
Returns BufferedImage from for the content.
|
private void |
writeObject(java.io.ObjectOutputStream out) |
getContentprivate static final long serialVersionUID
private transient volatile java.awt.image.BufferedImage img
private transient volatile boolean imageLoaded
public BufferedImageCacheEntry(byte[] content)
content - byte array containing imagepublic java.awt.image.BufferedImage getImage() throws java.io.IOException
java.io.IOException - if an error occurs during reading.private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException
java.io.IOException