net.sf.jomic.comic
Class ComicCache.TitleImageCache

java.lang.Object
  extended by net.sf.jomic.tools.ImageCache
      extended by net.sf.jomic.comic.ComicCache.TitleImageCache
All Implemented Interfaces:
CacheInfo
Enclosing class:
ComicCache

public class ComicCache.TitleImageCache
extends ImageCache

ImageCache for comic title pages.

Author:
Thomas Aglassinger

Constructor Summary
ComicCache.TitleImageCache(java.lang.String newName, java.io.File newTitleCacheDir, long newMaxMemorySize)
           
 
Method Summary
protected  java.awt.image.RenderedImage obtainImage(java.io.File comicFile)
           
protected  java.awt.Dimension obtainImageDimension(java.io.File comicFile)
           
 
Methods inherited from class net.sf.jomic.tools.ImageCache
clear, createBrokenImage, dispose, get, get, getDefaultImageDimension, getDimension, getEntryCount, getMaxSize, getUsedSize, has
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComicCache.TitleImageCache

public ComicCache.TitleImageCache(java.lang.String newName,
                                  java.io.File newTitleCacheDir,
                                  long newMaxMemorySize)
Method Detail

obtainImage

protected java.awt.image.RenderedImage obtainImage(java.io.File comicFile)
                                            throws java.io.IOException
Overrides:
obtainImage in class ImageCache
Throws:
java.io.IOException

obtainImageDimension

protected java.awt.Dimension obtainImageDimension(java.io.File comicFile)
                                           throws java.io.IOException
Overrides:
obtainImageDimension in class ImageCache
Throws:
java.io.IOException