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.DynamicResourceResource 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 InputStreamgetInputStream()StringgetRequestPath()-
Methods inherited from class org.omnifaces.resourcehandler.DynamicResource
getLastModified, getResponseHeaders, getURL, setLastModified, userAgentNeedsUpdate
-
-
-
-
Method Detail
-
getRequestPath
public String getRequestPath()
- Overrides:
getRequestPathin classorg.omnifaces.resourcehandler.DynamicResource
-
getInputStream
public InputStream getInputStream() throws IOException
- Specified by:
getInputStreamin classjavax.faces.application.Resource- Throws:
IOException
-
-