Interface ResourceService


  • public interface ResourceService
    This service allows Features to load resources.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.io.File getFilesDir()
      Returns the absolute path to the directory on the filesystem where an application stores its private files.
      java.lang.String getImagePath​(java.lang.String path)
      Returns the resource path of an image.
    • Method Detail

      • getImagePath

        java.lang.String getImagePath​(java.lang.String path)
        Returns the resource path of an image.
        Parameters:
        path - the path (relative to the Module directory).
        Returns:
        the resource path (absolute).
        Throws:
        ej.microui.MicroUIException - if the resource path doesn't start with "/".
      • getFilesDir

        java.io.File getFilesDir()
        Returns the absolute path to the directory on the filesystem where an application stores its private files.
        Returns:
        the path of the directory holding application files