Class ResourceUtils
java.lang.Object
org.apache.myfaces.renderkit.html.util.ResourceUtils
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic StringgetContractName(Resource resource) static booleanisRenderedScript(FacesContext facesContext, String libraryName, String resourceName) static booleanisRenderedStylesheet(FacesContext facesContext, String libraryName, String resourceName) static voidmarkScriptAsRendered(FacesContext facesContext, String libraryName, String resourceName) static voidmarkStylesheetAsRendered(FacesContext facesContext, String libraryName, String resourceName) static voidrenderDefaultJsfJsInlineIfNecessary(FacesContext facesContext, ResponseWriter writer) static voidwriteScriptInline(FacesContext facesContext, ResponseWriter writer, String libraryName, String resourceName) 
- 
Field Details- 
FACES_UNCOMPRESSED_JS_RESOURCE_NAME- See Also:
 
- 
FACES_MINIMAL_JS_RESOURCE_NAME- See Also:
 
- 
JAKARTA_FACES_OUTPUT_COMPONENT_TYPE- See Also:
 
- 
JAKARTA_FACES_TEXT_RENDERER_TYPE- See Also:
 
- 
DEFAULT_SCRIPT_RENDERER_TYPE- See Also:
 
- 
DEFAULT_STYLESHEET_RENDERER_TYPE- See Also:
 
 
- 
- 
Constructor Details- 
ResourceUtilspublic ResourceUtils()
 
- 
- 
Method Details- 
markScriptAsRenderedpublic static void markScriptAsRendered(FacesContext facesContext, String libraryName, String resourceName) 
- 
markStylesheetAsRenderedpublic static void markStylesheetAsRendered(FacesContext facesContext, String libraryName, String resourceName) 
- 
isRenderedScriptpublic static boolean isRenderedScript(FacesContext facesContext, String libraryName, String resourceName) 
- 
isRenderedStylesheetpublic static boolean isRenderedStylesheet(FacesContext facesContext, String libraryName, String resourceName) 
- 
writeScriptInlinepublic static void writeScriptInline(FacesContext facesContext, ResponseWriter writer, String libraryName, String resourceName) throws IOException - Throws:
- IOException
 
- 
renderDefaultJsfJsInlineIfNecessarypublic static void renderDefaultJsfJsInlineIfNecessary(FacesContext facesContext, ResponseWriter writer) throws IOException - Throws:
- IOException
 
- 
getContractName
 
-