Interface IStaticContainer

    • Method Detail

      • contains

        boolean contains​(ContentContext ctx,
                         String uri)
        check if the class contains the static resources define by a URI
        Parameters:
        uri - a uri to a static resources
        Returns:
        true if the class conatins this static resources.
      • renameResource

        boolean renameResource​(ContentContext ctx,
                               File oldName,
                               File newName)
        rename a resource
        Parameters:
        oldName -
        newName -
        Returns:
        true if rename, false else
      • getPopularity

        int getPopularity​(ContentContext ctx)
        return indice of popularity
        Parameters:
        ctx -
        Returns:
      • setDirSelected

        void setDirSelected​(String dir)
        set folder with resources
        Parameters:
        dir -