Package org.apache.myfaces.resource
Class ResourceLoaderWrapper
java.lang.Object
org.apache.myfaces.resource.ResourceLoader
org.apache.myfaces.resource.ResourceLoaderWrapper
- All Implemented Interfaces:
- FacesWrapper<ResourceLoader>
- Direct Known Subclasses:
- FacesJSResourceLoader,- TempDirFileCacheResourceLoader
public abstract class ResourceLoaderWrapper
extends ResourceLoader
implements FacesWrapper<ResourceLoader>
- 
Nested Class SummaryNested classes/interfaces inherited from class org.apache.myfaces.resource.ResourceLoaderResourceLoader.VersionComparator
- 
Field SummaryFields inherited from class org.apache.myfaces.resource.ResourceLoaderVERSION_INVALID
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioncreateResourceMeta(String prefix, String libraryName, String libraryVersion, String resourceName, String resourceVersion) getLibraryVersion(String path) Return the max available version found (if exists) or return null if no version available.getResourceInputStream(ResourceMeta resourceMeta) getResourceURL(ResourceMeta resourceMeta) Return the max available version found (if exists) or return null if no version available.getResourceVersion(String path) protected Comparator<String>iterator(FacesContext facesContext, String path, int maxDepth, ResourceVisitOption... options) booleanlibraryExists(String libraryName) booleanresourceExists(ResourceMeta resourceMeta) voidprotected voidsetVersionComparator(Comparator<String> versionComparator) Methods inherited from class org.apache.myfaces.resource.ResourceLoadercreateResourceMetaMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jakarta.faces.FacesWrappergetWrapped
- 
Constructor Details- 
ResourceLoaderWrapperpublic ResourceLoaderWrapper()
 
- 
- 
Method Details- 
getResourceVersion- Specified by:
- getResourceVersionin class- ResourceLoader
 
- 
getLibraryVersionDescription copied from class:ResourceLoaderReturn the max available version found (if exists) or return null if no version available.- Specified by:
- getLibraryVersionin class- ResourceLoader
 
- 
getResourceURLDescription copied from class:ResourceLoaderReturn the max available version found (if exists) or return null if no version available.- Specified by:
- getResourceURLin class- ResourceLoader
 
- 
getResourceInputStream- Specified by:
- getResourceInputStreamin class- ResourceLoader
 
- 
createResourceMetapublic ResourceMeta createResourceMeta(String prefix, String libraryName, String libraryVersion, String resourceName, String resourceVersion) - Specified by:
- createResourceMetain class- ResourceLoader
 
- 
libraryExists- Specified by:
- libraryExistsin class- ResourceLoader
 
- 
getPrefix- Overrides:
- getPrefixin class- ResourceLoader
 
- 
setPrefix- Overrides:
- setPrefixin class- ResourceLoader
 
- 
resourceExists- Overrides:
- resourceExistsin class- ResourceLoader
 
- 
getVersionComparator- Overrides:
- getVersionComparatorin class- ResourceLoader
 
- 
setVersionComparator- Overrides:
- setVersionComparatorin class- ResourceLoader
 
- 
iteratorpublic Iterator<String> iterator(FacesContext facesContext, String path, int maxDepth, ResourceVisitOption... options) - Overrides:
- iteratorin class- ResourceLoader
 
 
-