Package de.xima.fc.theme.model
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
-
-
Constructor Summary
Constructors Constructor Description ThemeResource(IPluginBackendTheme plugin, String resourceName, String libraryName, String contentType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStream
getInputStream()
String
getResourceName()
-
Methods inherited from class org.omnifaces.resourcehandler.DynamicResource
getLastModified, getRequestPath, getResponseHeaders, getURL, setLastModified, userAgentNeedsUpdate
-
-
-
-
Constructor Detail
-
ThemeResource
public ThemeResource(IPluginBackendTheme plugin, String resourceName, String libraryName, String contentType)
-
-
Method Detail
-
getInputStream
public InputStream getInputStream() throws IOException
- Specified by:
getInputStream
in classjavax.faces.application.Resource
- Throws:
IOException
-
getResourceName
public String getResourceName()
- Overrides:
getResourceName
in classjavax.faces.application.Resource
-
-