Package org.apache.fop.fonts
Class FontCacheManagerFactory.DisabledFontCacheManager
java.lang.Object
org.apache.fop.fonts.FontCacheManagerFactory.DisabledFontCacheManager
- All Implemented Interfaces:
FontCacheManager
- Enclosing class:
- FontCacheManagerFactory
private static final class FontCacheManagerFactory.DisabledFontCacheManager
extends Object
implements FontCacheManager
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
delete()
Deletes the font cache from the file-system.load()
Loads the font cache into memory from the given file.void
save()
Serializes the font cache to file.void
setCacheFile
(URI fontCacheURI) Sets the font cache file given the URI pointing to the file.
-
Constructor Details
-
DisabledFontCacheManager
private DisabledFontCacheManager()
-
-
Method Details
-
load
Description copied from interface:FontCacheManager
Loads the font cache into memory from the given file.- Specified by:
load
in interfaceFontCacheManager
- Returns:
- the de-serialized font cache
-
save
Description copied from interface:FontCacheManager
Serializes the font cache to file.- Specified by:
save
in interfaceFontCacheManager
- Throws:
FOPException
- if an error occurs serializing the font cache
-
delete
Description copied from interface:FontCacheManager
Deletes the font cache from the file-system.- Specified by:
delete
in interfaceFontCacheManager
- Throws:
FOPException
- if an error occurs deleting the font cache
-
setCacheFile
Description copied from interface:FontCacheManager
Sets the font cache file given the URI pointing to the file.- Specified by:
setCacheFile
in interfaceFontCacheManager
- Parameters:
fontCacheURI
- the font cache URI
-