Class ClientSideElement.ScriptFile

    • Constructor Detail

      • ScriptFile

        public ScriptFile​(String path)
        Default constructor. Create a new script only defined by its path.
        Parameters:
        path - The script path
      • ScriptFile

        public ScriptFile​(String rtl,
                          String path)
        Create a new script file that is not language aware.
        Parameters:
        rtl - The rtl mode. Can be null.
        path - The file path.
      • ScriptFile

        public ScriptFile​(Map<String,​String> langPaths,
                          String defaultLang)
        Create a new script file with a language specific configuration.
        Parameters:
        langPaths - The list of languages with their paths.
        defaultLang - The default language code. Can be null.