Class 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.
    Christopher Mindus
    • 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:
        getSize in class PreloadClientCacheResource
        The size, or -1 if resource is not found.
      • getModificationTime

        public long getModificationTime()
        Returns the modification time of the resource.
        Specified by:
        getModificationTime in class PreloadClientCacheResource
        The modification time, or zero if resource is not found.