Class AppFileSystem

java.lang.Object
com.wavemaker.runtime.app.AppFileSystem
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.web.context.ServletContextAware

public class AppFileSystem extends Object implements org.springframework.web.context.ServletContextAware
Provides a virtual files system for accessing resources of the application.
  • Constructor Details

    • AppFileSystem

      public AppFileSystem()
  • Method Details

    • setServletContext

      public void setServletContext(jakarta.servlet.ServletContext servletContext)
      Specified by:
      setServletContext in interface org.springframework.web.context.ServletContextAware
    • getAppContextRoot

      public String getAppContextRoot()
    • getClassPathFile

      public com.wavemaker.commons.io.File getClassPathFile(String resourcePath)
    • getWebappResource

      public InputStream getWebappResource(String resourcePath)
    • getWebappI18nLocaleFileNames

      public Set<String> getWebappI18nLocaleFileNames()