org.pentaho.reporting.libraries.fonts.cache
Class NullFontCache

java.lang.Object
  extended by org.pentaho.reporting.libraries.fonts.cache.NullFontCache
All Implemented Interfaces:
FontCache

public class NullFontCache
extends java.lang.Object
implements FontCache

A empty font cache that does not cache.

Author:
Thomas Morgner

Constructor Summary
NullFontCache()
           
 
Method Summary
 void commit()
           
 FontMetrics getFontMetrics(FontKey fontKey)
           
 void putFontMetrics(FontKey key, FontMetrics fontMetrics)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullFontCache

public NullFontCache()
Method Detail

getFontMetrics

public FontMetrics getFontMetrics(FontKey fontKey)
Specified by:
getFontMetrics in interface FontCache

putFontMetrics

public void putFontMetrics(FontKey key,
                           FontMetrics fontMetrics)
Specified by:
putFontMetrics in interface FontCache

commit

public void commit()
Specified by:
commit in interface FontCache