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>
filefontsMap
private long
lastModified
file modify date (if available)private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description CachedFontFile(long lastModified)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
containsFont(EmbedFontInfo efi)
EmbedFontInfo[]
getEmbedFontInfos()
private java.util.Map<java.lang.String,EmbedFontInfo>
getFileFontsMap()
long
lastModified()
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)java.lang.String
toString()
-
-
-
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:
toString
in classjava.lang.Object
- Returns:
- string representation of this object
-
-