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:
- TempDirFileCacheResourceLoader
 
 public abstract class ResourceLoaderWrapper extends ResourceLoader implements FacesWrapper<ResourceLoader> 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class org.apache.myfaces.resource.ResourceLoaderResourceLoader.VersionComparator
 
- 
 - 
Field Summary- 
Fields inherited from class org.apache.myfaces.resource.ResourceLoaderVERSION_INVALID
 
- 
 - 
Constructor SummaryConstructors Constructor Description ResourceLoaderWrapper()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceMetacreateResourceMeta(String prefix, String libraryName, String libraryVersion, String resourceName, String resourceVersion)StringgetLibraryVersion(String path)Return the max available version found (if exists) or return null if no version available.StringgetPrefix()InputStreamgetResourceInputStream(ResourceMeta resourceMeta)URLgetResourceURL(ResourceMeta resourceMeta)Return the max available version found (if exists) or return null if no version available.StringgetResourceVersion(String path)protected Comparator<String>getVersionComparator()Iterator<String>iterator(FacesContext facesContext, String path, int maxDepth, ResourceVisitOption... options)booleanlibraryExists(String libraryName)booleanresourceExists(ResourceMeta resourceMeta)voidsetPrefix(String prefix)protected voidsetVersionComparator(Comparator<String> versionComparator)- 
Methods inherited from class org.apache.myfaces.resource.ResourceLoadercreateResourceMeta
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface jakarta.faces.FacesWrappergetWrapped
 
- 
 
- 
- 
- 
Method Detail- 
getResourceVersionpublic String getResourceVersion(String path) - Specified by:
- getResourceVersionin class- ResourceLoader
 
 - 
getLibraryVersionpublic String getLibraryVersion(String path) Description copied from class:ResourceLoaderReturn the max available version found (if exists) or return null if no version available.- Specified by:
- getLibraryVersionin class- ResourceLoader
 
 - 
getResourceURLpublic URL getResourceURL(ResourceMeta resourceMeta) Description copied from class:ResourceLoaderReturn the max available version found (if exists) or return null if no version available.- Specified by:
- getResourceURLin class- ResourceLoader
 
 - 
getResourceInputStreampublic InputStream getResourceInputStream(ResourceMeta resourceMeta) - Specified by:
- getResourceInputStreamin class- ResourceLoader
 
 - 
createResourceMetapublic ResourceMeta createResourceMeta(String prefix, String libraryName, String libraryVersion, String resourceName, String resourceVersion) - Specified by:
- createResourceMetain class- ResourceLoader
 
 - 
libraryExistspublic boolean libraryExists(String libraryName) - Specified by:
- libraryExistsin class- ResourceLoader
 
 - 
getPrefixpublic String getPrefix() - Overrides:
- getPrefixin class- ResourceLoader
 
 - 
setPrefixpublic void setPrefix(String prefix) - Overrides:
- setPrefixin class- ResourceLoader
 
 - 
resourceExistspublic boolean resourceExists(ResourceMeta resourceMeta) - Overrides:
- resourceExistsin class- ResourceLoader
 
 - 
getVersionComparatorprotected Comparator<String> getVersionComparator() - Overrides:
- getVersionComparatorin class- ResourceLoader
 
 - 
setVersionComparatorprotected void setVersionComparator(Comparator<String> versionComparator) - Overrides:
- setVersionComparatorin class- ResourceLoader
 
 - 
iteratorpublic Iterator<String> iterator(FacesContext facesContext, String path, int maxDepth, ResourceVisitOption... options) - Overrides:
- iteratorin class- ResourceLoader
 
 
- 
 
-