org.pentaho.reporting.libraries.fonts.cache
Class NullFontCache
java.lang.Object
org.pentaho.reporting.libraries.fonts.cache.NullFontCache
- All Implemented Interfaces:
- FontCache
public class NullFontCache
- extends Object
- implements FontCache
A empty font cache that does not cache.
- Author:
- Thomas Morgner
NullFontCache
public NullFontCache()
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