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 TypeMethodDescriptionvoiddelete()Deletes the font cache from the file-system.load()Loads the font cache into memory from the given file.voidsave()Serializes the font cache to file.voidsetCacheFile(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:FontCacheManagerLoads the font cache into memory from the given file.- Specified by:
loadin interfaceFontCacheManager- Returns:
- the de-serialized font cache
-
save
Description copied from interface:FontCacheManagerSerializes the font cache to file.- Specified by:
savein interfaceFontCacheManager- Throws:
FOPException- if an error occurs serializing the font cache
-
delete
Description copied from interface:FontCacheManagerDeletes the font cache from the file-system.- Specified by:
deletein interfaceFontCacheManager- Throws:
FOPException- if an error occurs deleting the font cache
-
setCacheFile
Description copied from interface:FontCacheManagerSets the font cache file given the URI pointing to the file.- Specified by:
setCacheFilein interfaceFontCacheManager- Parameters:
fontCacheURI- the font cache URI
-