Interface IClientCacheResource

All Known Implementing Classes:
EditorFontFiles, FontFiles, ModuleApp

public interface IClientCacheResource
Interface used for client caching of resources, to support downloading before application starts or to cache the resource the first time it's found to be loaded from local storage next time, unless the resource is modified.
Author:
Christopher Mindus
  • Field Summary Link icon

    Fields
    Modifier and Type
    Field
    Description
    static final String[]
    Possible values for caching on client.
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    boolean
    Returns if the resource (font, image, etc) is to be cached on the client side or not.
    boolean
    Returns if the resource (font, image, etc) is to be cached on the client side when the application starts or not.
  • Field Details Link icon

    • CACHES Link icon

      static final String[] CACHES
      Possible values for caching on client.
  • Method Details Link icon

    • isCachedOnClient Link icon

      boolean isCachedOnClient()
      Returns if the resource (font, image, etc) is to be cached on the client side or not.
      Returns:
      true to cache font, or false for client session use only.
    • isCachePreloaded Link icon

      boolean isCachePreloaded()
      Returns if the resource (font, image, etc) is to be cached on the client side when the application starts or not.