Package com.iizix.prop.font
Class FontFilePreloadClientCacheResource
- java.lang.Object
- com.iizix.prop.PreloadClientCacheResource
- com.iizix.prop.font.FontFilePreloadClientCacheResource
 
 
- public class FontFilePreloadClientCacheResource extends PreloadClientCacheResource Class holding information for a single Asset resource that should be preloaded to the client cache when the application starts.- Author:
- Christopher Mindus
 
- Field Summary- Fields inherited from class com.iizix.prop.PreloadClientCacheResource- EMPTY
 
 - Constructor Summary- Constructors - Constructor - Description - FontFilePreloadClientCacheResource(AssetReference assetReference, FileURIPropCnr filePropCnr)Constructs the resource.
 - Method Summary- All Methods Instance Methods Concrete Methods - Modifier and Type - Method - Description - long- getModificationTime()Returns the modification time of the resource.- long- getSize()Returns the size of the resource in bytes.- Methods inherited from class com.iizix.prop.PreloadClientCacheResource- getOwner, getPath, isRelevant
 
 
- Constructor Detail- FontFilePreloadClientCacheResource- public FontFilePreloadClientCacheResource(AssetReference assetReference, FileURIPropCnr filePropCnr) Constructs the resource.
 
 - Method Detail- getSize- public long getSize() Returns the size of the resource in bytes.- Specified by:
- getSizein class- PreloadClientCacheResource
- Returns:
- The size, or -1 if resource is not found.
 
 - getModificationTime- public long getModificationTime() Returns the modification time of the resource.- Specified by:
- getModificationTimein class- PreloadClientCacheResource
- Returns:
- The modification time, or zero if resource is not found.