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
  • Field Summary

    Fields inherited from class javax.faces.application.Resource

    COMPONENT_RESOURCE_KEY
  • Constructor Summary

    Constructors
    Constructor
    Description
    I18nResource(String baseName, String path, Locale locale)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     

    Methods inherited from class org.omnifaces.resourcehandler.DynamicResource

    getLastModified, getResponseHeaders, getURL, setLastModified, userAgentNeedsUpdate

    Methods inherited from class javax.faces.application.Resource

    getContentType, getLibraryName, getResourceName, 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

    • getRequestPath

      public String getRequestPath()
      Overrides:
      getRequestPath in class org.omnifaces.resourcehandler.DynamicResource
    • getInputStream

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