Package org.apache.fop.fonts
Class FontCache.CachedFontFile
java.lang.Object
org.apache.fop.fonts.FontCache.CachedFontFile
- All Implemented Interfaces:
Serializable
- Enclosing class:
- FontCache
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Map<String,
EmbedFontInfo> private long
file modify date (if available)private static final long
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
private Map<String,
EmbedFontInfo> long
Gets the modified timestamp for font file (not always available)(package private) void
put
(EmbedFontInfo efi) void
setLastModified
(long lastModified) Gets the modified timestamp for font file (used for the purposes of font info caching)toString()
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
lastModified
private long lastModifiedfile modify date (if available) -
filefontsMap
-
-
Constructor Details
-
CachedFontFile
public CachedFontFile(long lastModified)
-
-
Method Details
-
getFileFontsMap
-
put
-
containsFont
-
getEmbedFontInfos
-
lastModified
public long lastModified()Gets the modified timestamp for font file (not always available)- Returns:
- modified timestamp
-
setLastModified
public void setLastModified(long lastModified) Gets the modified timestamp for font file (used for the purposes of font info caching)- Parameters:
lastModified
- modified font file timestamp
-
toString
-