Package com.iizix.prop
Class CSSResourceFilePreload
java.lang.Object
com.iizix.prop.PreloadClientCacheResource
com.iizix.prop.CSSResourceFilePreload
Class holding information for a single Custom CSS 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 SummaryConstructorsConstructorDescription- CSSResourceFilePreload- (CSSAssetReferences owner, FileURIPropCnr filePropCnr, String path) Constructs the resource.
- Method SummaryModifier and TypeMethodDescription- longReturns 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 Details- CSSResourceFilePreloadConstructs the resource.- Parameters:
- owner- The owner of the asset resources.
- filePropCnr- The file resource.
- path- The resource path for the client as "module$/path/filename.ext".
 
 
- Method Details- getSizepublic 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.
 
- getModificationTimepublic 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.