Package de.xima.fc.portal
Class I18nResource
- java.lang.Object
-
- javax.faces.application.ViewResource
-
- javax.faces.application.Resource
-
- org.omnifaces.resourcehandler.DynamicResource
-
- de.xima.fc.portal.I18nResource
-
public class I18nResource extends org.omnifaces.resourcehandler.DynamicResource
Resource handler for i18n resources required by the client. For example, the designer and the workflow editor require i18n keys to be present on the client. This resource serves a properties file as a JavaScript JSON-like file.- Author:
- XIMA MEDIA GmbH
-
-
Constructor Summary
Constructors Constructor Description I18nResource(String baseName, String path, Locale locale)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputStream
getInputStream()
String
getRequestPath()
-
Methods inherited from class org.omnifaces.resourcehandler.DynamicResource
getLastModified, getResponseHeaders, getURL, setLastModified, userAgentNeedsUpdate
-
-
-
-
Method Detail
-
getRequestPath
public String getRequestPath()
- Overrides:
getRequestPath
in classorg.omnifaces.resourcehandler.DynamicResource
-
getInputStream
public InputStream getInputStream() throws IOException
- Specified by:
getInputStream
in classjavax.faces.application.Resource
- Throws:
IOException
-
-