Package de.xima.fc.theme.model
Class CustomResource
- java.lang.Object
-
- javax.faces.application.ViewResource
-
- javax.faces.application.Resource
-
- org.omnifaces.resourcehandler.DynamicResource
-
- de.xima.fc.theme.model.CustomResource
-
public class CustomResource extends org.omnifaces.resourcehandler.DynamicResource
Resource for custom content- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description CustomResource(String content, String resourceName, String libraryName, String contentType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStream
getInputStream()
-
Methods inherited from class org.omnifaces.resourcehandler.DynamicResource
getLastModified, getRequestPath, getResponseHeaders, getURL, setLastModified, userAgentNeedsUpdate
-
-
-
-
Method Detail
-
getInputStream
public InputStream getInputStream() throws IOException
- Specified by:
getInputStream
in classjavax.faces.application.Resource
- Throws:
IOException
-
-