|
fop 0.95 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.fop.fonts.EmbedFontInfo
org.apache.fop.fonts.CachedFontInfo
Font info stored in the cache
| Field Summary |
| Fields inherited from class org.apache.fop.fonts.EmbedFontInfo |
embedFile, fontTriplets, kerning, metricsFile |
| Constructor Summary | |
CachedFontInfo(EmbedFontInfo fontInfo)
Constructor |
|
CachedFontInfo(java.lang.String metricsFile,
boolean kerning,
java.util.List fontTriplets,
java.lang.String embedFile,
long lastModified)
Default constructor |
|
| Method Summary | |
static java.io.File |
getFileFromUrls(java.lang.String[] urls)
Returns a file given a list of urls |
long |
lastModified()
Gets the modified timestamp for font file (not always available) |
void |
setLastModified(long lastModified)
Gets the modified timestamp for font file (used for the purposes of font info caching) |
java.lang.String |
toString()
|
| Methods inherited from class org.apache.fop.fonts.EmbedFontInfo |
getEmbedFile, getFontTriplets, getKerning, getMetricsFile |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CachedFontInfo(java.lang.String metricsFile,
boolean kerning,
java.util.List fontTriplets,
java.lang.String embedFile,
long lastModified)
metricsFile - metrics filekerning - kerningfontTriplets - font tripletsembedFile - embed filelastModified - timestamp that this font was last modifiedpublic CachedFontInfo(EmbedFontInfo fontInfo)
fontInfo - an existing embed font info| Method Detail |
public static java.io.File getFileFromUrls(java.lang.String[] urls)
urls - array of possible font urls
public long lastModified()
public void setLastModified(long lastModified)
lastModified - modified font file timestamppublic java.lang.String toString()
EmbedFontInfo
toString in class EmbedFontInfo
|
fop 0.95 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||