org.pentaho.reporting.libraries.fonts.cache

Class LeastFrequentlyUsedCache

public class LeastFrequentlyUsedCache extends Object implements FontCache

Todo: Document Me

Author: Thomas Morgner

Constructor Summary
LeastFrequentlyUsedCache(int cacheSize)
Method Summary
voidcommit()
FontMetricsgetFontMetrics(FontKey fontKey)
voidputFontMetrics(FontKey key, FontMetrics metrics)

Constructor Detail

LeastFrequentlyUsedCache

public LeastFrequentlyUsedCache(int cacheSize)

Method Detail

commit

public void commit()

getFontMetrics

public FontMetrics getFontMetrics(FontKey fontKey)

putFontMetrics

public void putFontMetrics(FontKey key, FontMetrics metrics)