Class CustomResource


  • public class CustomResource
    extends org.omnifaces.resourcehandler.DynamicResource
    Resource for custom content
    Author:
    XIMA MEDIA GmbH
    • Field Summary

      • Fields inherited from class javax.faces.application.Resource

        COMPONENT_RESOURCE_KEY
    • Constructor Detail

      • CustomResource

        public CustomResource​(String content,
                              String resourceName,
                              String libraryName,
                              String contentType)
    • Method Detail

      • getInputStream

        public InputStream getInputStream()
                                   throws IOException
        Specified by:
        getInputStream in class javax.faces.application.Resource
        Throws:
        IOException