java.lang.Object
com.sun.faces.application.resource.ResourceInfo
com.sun.faces.application.resource.ClientResourceInfo
ClientResourceInfo is a simple wrapper class for information pertinent to building a complete resource
 path using a Library.- 
Constructor SummaryConstructorsConstructorDescriptionClientResourceInfo(LibraryInfo library, ContractInfo contract, String name, VersionInfo version, boolean compressible, boolean supportsEL, boolean isDevStage, boolean cacheTimestamp) Constructs a newClientResourceInfousing the specified details.
- 
Method SummaryModifier and TypeMethodDescriptionvoidcopy(ClientResourceInfo other) voidDisables EL evaluation for this resource.longReturns the time this resource was last modified.booleanbooleantoString()Methods inherited from class com.sun.faces.application.resource.ResourceInfocopy, equals, getContract, getHelper, getLibraryInfo, getLocalePrefix, getName, getPath, getVersion, hashCode, isDoNotCache, setDoNotCache
- 
Constructor Details- 
ClientResourceInfopublic ClientResourceInfo(LibraryInfo library, ContractInfo contract, String name, VersionInfo version, boolean compressible, boolean supportsEL, boolean isDevStage, boolean cacheTimestamp) Constructs a newClientResourceInfousing the specified details. TheResourceHelperof the resource will be the same as theResourceHelperof theLibraryInfo.- Parameters:
- library- the library containing this resource
- contract- the contract info
- name- the resource name
- version- the version of this resource (if any)
- compressible- if this resource should be compressed
- supportsEL-- trueif this resource may contain EL expressions
- isDevStage- true if this context is development stage
- cacheTimestamp-- trueif the modification time of the resource should be cached. The value of this parameter will be ignored when- isDevStageis- true
 
 
- 
- 
Method Details- 
copy
- 
getCompressedPath- Returns:
- the path to which the compressed bits for this resource reside. If this resource isn't compressible and this
 method is called, it will return null
 
- 
isCompressablepublic boolean isCompressable()- Returns:
- trueif this resource should be compressed, otherwise- false
 
- 
supportsELpublic boolean supportsEL()- Returns:
- trueif the this resource may contain EL expressions that should be evaluated, otherwise, return- false
 
- 
disableELpublic void disableEL()Disables EL evaluation for this resource.
- 
getLastModifiedReturns the time this resource was last modified. IfWebConfiguration.BooleanWebContextInitParameter.CacheResourceModificationTimestampis true, the value will be cached for the lifetime if thisClientResourceInfoinstance.- Parameters:
- ctx- the- FacesContextfor the current request
- Returns:
- the time this resource was last modified (number of milliseconds since January 1, 1970 GMT).
 
- 
toString
 
-