Class FontCache.CachedFontFile

java.lang.Object
org.apache.fop.fonts.FontCache.CachedFontFile
All Implemented Interfaces:
Serializable
Enclosing class:
FontCache

private static class FontCache.CachedFontFile extends Object implements Serializable
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • lastModified

      private long lastModified
      file modify date (if available)
    • filefontsMap

      private Map<String,EmbedFontInfo> filefontsMap
  • Constructor Details

    • CachedFontFile

      public CachedFontFile(long lastModified)
  • Method Details

    • getFileFontsMap

      private Map<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 String toString()
      Overrides:
      toString in class Object
      Returns:
      string representation of this object