ClientResourceInfo is a simple wrapper class for information pertinent to building a complete resource
path using a Library.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv boolean | |
| private static final String | |
| pack-priv String | |
| pack-priv boolean | |
| pack-priv boolean | |
| private volatile long | |
| private static final Logger | |
| pack-priv boolean |
| Access | Constructor and Description |
|---|---|
| public | ClientResourceInfo(LibraryInfo
the library containing this resource library, ContractInfo the contract info contract, String the resource name name, VersionInfo the version of this resource (if any) version, boolean if this resource should be compressed compressible, boolean true if this resource may contain EL expressionstrue if this context is development stage isDevStage, boolean true if the modification time of the resource should be cached. The value of this
parameter will be ignored when isDevStage is trueConstructs a new |
| pack-priv | ClientResourceInfo(ContractInfo contract, String
the resource name name, VersionInfo the version of the resource version, String the locale prefix for this resource (if any) localePrefix, ResourceHelper helper the helper class for this resource helper, boolean if this resource should be compressed compressible, boolean true if this resource may contain EL expressionstrue if this context is development stage isDevStage, boolean true if the modification time of the resource should be cached. The value of this
parameter will be ignored when isDevStage is trueConstructs a new |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public String | 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 returnnull
|
| public long | Returns: the time this resource was last modified (number of milliseconds since January 1, 1970 GMT).the ctx)FacesContext for the current requestReturns the time this resource was last modified. |
| private void | |
| public boolean | |
| public boolean | Returns: true if the this resource may contain EL expressions that should be evaluated, otherwise, return
false
|
| public String |
| cacheTimestamp | back to summary |
|---|---|
| pack-priv boolean cacheTimestamp | |
| COMPRESSED_CONTENT_DIRECTORY | back to summary |
|---|---|
| private static final String COMPRESSED_CONTENT_DIRECTORY | |
| compressedPath | back to summary |
|---|---|
| pack-priv String compressedPath | |
| compressible | back to summary |
|---|---|
| pack-priv boolean compressible | |
| isDevStage | back to summary |
|---|---|
| pack-priv boolean isDevStage | |
| lastModified | back to summary |
|---|---|
| private volatile long lastModified | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| supportsEL | back to summary |
|---|---|
| pack-priv boolean supportsEL | |
| ClientResourceInfo | back to summary |
|---|---|
| public ClientResourceInfo(LibraryInfo library, ContractInfo contract, String name, VersionInfo version, boolean compressible, boolean supportsEL, boolean isDevStage, boolean cacheTimestamp) Constructs a new
| |
| ClientResourceInfo | back to summary |
|---|---|
| pack-priv ClientResourceInfo(ContractInfo contract, String name, VersionInfo version, String localePrefix, ResourceHelper helper, boolean compressible, boolean supportsEL, boolean isDevStage, boolean cacheTimestamp) Constructs a new
| |
| ClientResourceInfo | back to summary |
|---|---|
| pack-priv ClientResourceInfo(ClientResourceInfo other, boolean copyLocalePrefix) | |
| copy | back to summary |
|---|---|
| public void copy(ClientResourceInfo other) | |
| disableEL | back to summary |
|---|---|
| public void disableEL() Disables EL evaluation for this resource. | |
| getCompressedPath | back to summary |
|---|---|
public String getCompressedPath()
| |
| getLastModified | back to summary |
|---|---|
| public long getLastModified(FacesContext ctx) Returns the time this resource was last modified. If
| |
| initPath | back to summary |
|---|---|
| private void initPath(boolean isDevStage) Create the full path to the resource. If the resource can be compressed, setup the compressedPath ivar so that the
path refers to the directory refereneced by the context attribute | |
| isCompressable | back to summary |
|---|---|
public boolean isCompressable()
| |
| supportsEL | back to summary |
|---|---|
public boolean supportsEL()
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |