Package org.apache.fop.fonts
Class FontCache.CachedFontFile
- java.lang.Object
-
- org.apache.fop.fonts.FontCache.CachedFontFile
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- FontCache
private static class FontCache.CachedFontFile extends java.lang.Object implements java.io.Serializable
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<java.lang.String,EmbedFontInfo>filefontsMapprivate longlastModifiedfile modify date (if available)private static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description CachedFontFile(long lastModified)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontainsFont(EmbedFontInfo efi)EmbedFontInfo[]getEmbedFontInfos()private java.util.Map<java.lang.String,EmbedFontInfo>getFileFontsMap()longlastModified()Gets the modified timestamp for font file (not always available)(package private) voidput(EmbedFontInfo efi)voidsetLastModified(long lastModified)Gets the modified timestamp for font file (used for the purposes of font info caching)java.lang.StringtoString()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
lastModified
private long lastModified
file modify date (if available)
-
filefontsMap
private java.util.Map<java.lang.String,EmbedFontInfo> filefontsMap
-
-
Method Detail
-
getFileFontsMap
private java.util.Map<java.lang.String,EmbedFontInfo> getFileFontsMap()
-
put
void put(EmbedFontInfo efi)
-
containsFont
public boolean containsFont(EmbedFontInfo efi)
-
getEmbedFontInfos
public EmbedFontInfo[] 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
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object- Returns:
- string representation of this object
-
-