Class ThemeResource

java.lang.Object
javax.faces.application.ViewResource
javax.faces.application.Resource
org.omnifaces.resourcehandler.DynamicResource
de.xima.fc.theme.model.ThemeResource

public class ThemeResource extends org.omnifaces.resourcehandler.DynamicResource
Resource for plugin backend themes
Author:
XIMA MEDIA GmbH
  • Field Summary

    Fields inherited from class javax.faces.application.Resource

    COMPONENT_RESOURCE_KEY
  • Constructor Summary

    Constructors
    Constructor
    Description
    ThemeResource(IPluginBackendTheme plugin, String resourceName, String libraryName, String contentType)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     

    Methods inherited from class org.omnifaces.resourcehandler.DynamicResource

    getLastModified, getRequestPath, getResponseHeaders, getURL, setLastModified, userAgentNeedsUpdate

    Methods inherited from class javax.faces.application.Resource

    getContentType, getLibraryName, setContentType, setLibraryName, setResourceName, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • getInputStream

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

      public String getResourceName()
      Overrides:
      getResourceName in class javax.faces.application.Resource