java.lang.Object
com.sun.faces.application.resource.ResourceInfo
- Direct Known Subclasses:
ClientResourceInfo
,FaceletResourceInfo
-
Constructor Summary
ConstructorDescriptionResourceInfo
(ContractInfo contract, String name, VersionInfo version, ResourceHelper helper) ResourceInfo
(LibraryInfo library, ContractInfo contract, String name, VersionInfo version) ResourceInfo
(ResourceInfo other, boolean copyLocalePrefix) -
Method Summary
Modifier and TypeMethodDescriptionvoid
copy
(ResourceInfo other) boolean
getName()
getPath()
int
hashCode()
boolean
void
setDoNotCache
(boolean doNotCache)
-
Constructor Details
-
ResourceInfo
-
ResourceInfo
-
ResourceInfo
-
-
Method Details
-
copy
-
equals
-
hashCode
-
isDoNotCache
public boolean isDoNotCache() -
setDoNotCache
public void setDoNotCache(boolean doNotCache) -
getHelper
- Returns:
- return the
ResourceHelper
for this resource
-
getLibraryInfo
- Returns:
- the Library associated with this resource, if any.
-
getLocalePrefix
- Returns:
- the Locale prefix, if any.
-
getName
- Returns:
- return the library name.
-
getPath
- Returns:
- the full path (including the library, if any) of the resource.
-
getContract
-
getVersion
- Returns:
- return the version of the resource, or
null
if the resource isn't versioned.
-