Package com.iizix.prop
Interface IClientCacheResource
- All Known Implementing Classes:
- EditorFontFiles,- FontFiles
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 SummaryFields
- Method SummaryModifier and TypeMethodDescription- booleanReturns if the resource (font, image, etc) is to be cached on the client side or not.- booleanReturns if the resource (font, image, etc) is to be cached on the client side when the application starts or not.
- Field Details- CACHESPossible values for caching on client.
 
- Method Details- isCachedOnClientboolean 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.
 
- isCachePreloadedboolean isCachePreloaded()Returns if the resource (font, image, etc) is to be cached on the client side when the application starts or not.