java.lang.Object
com.sun.faces.application.resource.ResourceInfo
- Direct Known Subclasses:
ClientResourceInfo,FaceletResourceInfo
-
Constructor Summary
ConstructorsConstructorDescriptionResourceInfo(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 TypeMethodDescriptionvoidcopy(ResourceInfo other) booleangetName()getPath()inthashCode()booleanvoidsetDoNotCache(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
ResourceHelperfor 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
nullif the resource isn't versioned.
-