|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.jomic.tools.ImageCacheEntry
public class ImageCacheEntry
Entry in ImageCache.
ImageCache| Constructor Summary | |
|---|---|
ImageCacheEntry(java.io.File newImageFile,
java.awt.image.RenderedImage newImage)
|
|
| Method Summary | |
|---|---|
void |
dispose()
Dispose entry by removing the reference to the source image, thus allowing the garbage collector to release the memory allocated by it. |
java.awt.image.RenderedImage |
getImage()
Get the actual image data from memory. |
java.io.File |
getImageFile()
Get the file from which the image data where read. |
long |
getImageSize()
Get the approximate size the image uses in memory. |
long |
getLastAccessed()
Get timestamp when entry was last accessed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImageCacheEntry(java.io.File newImageFile,
java.awt.image.RenderedImage newImage)
| Method Detail |
|---|
public java.awt.image.RenderedImage getImage()
public java.io.File getImageFile()
public long getImageSize()
public long getLastAccessed()
public void dispose()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||