Package org.apache.myfaces.resource
Class ResourceLoader
java.lang.Object
org.apache.myfaces.resource.ResourceLoader
- Direct Known Subclasses:
- ClassLoaderResourceLoader,- ContractResourceLoader,- ExternalContextResourceLoader,- InternalClassLoaderResourceLoader,- ResourceLoaderWrapper,- RootExternalContextResourceLoader
Base class for resource loaders.  Resource loaders can lookup resources 
 as URLs from arbitrary locations, including JAR files.
- 
Nested Class SummaryNested Classes
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionabstract ResourceMetacreateResourceMeta(String prefix, String libraryName, String libraryVersion, String resourceName, String resourceVersion) createResourceMeta(String prefix, String libraryName, String libraryVersion, String resourceName, String resourceVersion, String contractName) abstract StringgetLibraryVersion(String path) Return the max available version found (if exists) or return null if no version available.abstract InputStreamgetResourceInputStream(ResourceMeta resourceMeta) abstract URLgetResourceURL(ResourceMeta resourceMeta) Return the max available version found (if exists) or return null if no version available.abstract StringgetResourceVersion(String path) protected Comparator<String>iterator(FacesContext facesContext, String path, int maxDepth, ResourceVisitOption... options) abstract booleanlibraryExists(String libraryName) booleanresourceExists(ResourceMeta resourceMeta) voidprotected voidsetVersionComparator(Comparator<String> versionComparator) 
- 
Field Details- 
VERSION_INVALID- See Also:
 
 
- 
- 
Constructor Details- 
ResourceLoader
 
- 
- 
Method Details- 
getResourceVersion
- 
getLibraryVersionReturn the max available version found (if exists) or return null if no version available.
- 
getResourceURLReturn the max available version found (if exists) or return null if no version available.
- 
getResourceInputStream
- 
createResourceMeta
- 
createResourceMeta
- 
libraryExists
- 
resourceExists
- 
iteratorpublic Iterator<String> iterator(FacesContext facesContext, String path, int maxDepth, ResourceVisitOption... options) 
- 
getVersionComparator
- 
setVersionComparator
- 
getPrefix
- 
setPrefix
 
-