public static class ClientSideElement.ScriptFile extends Object
| Modifier and Type | Field and Description | 
|---|---|
private String | 
_debugMode  | 
private String | 
_defaultLang  | 
private boolean | 
_langMode  | 
private Map<String,String> | 
_langPaths  | 
private String | 
_path  | 
private String | 
_rtlMode  | 
| Constructor and Description | 
|---|
ScriptFile(ClientSideElement.ScriptFile scriptFile)
Clone a script file 
 | 
ScriptFile(String path)
Default constructor. 
 | 
ScriptFile(String debug,
          Map<String,String> langPaths,
          String defaultLang)
Create a new script file with a language specific configuration. 
 | 
ScriptFile(String debug,
          String rtl,
          String path)
Create a new script file that is not language aware. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getDebugMode()
Get the debug mode 
 | 
String | 
getDefaultLang()
Get the default language 
 | 
Map<String,String> | 
getLangPaths()
Get the path mapping by language 
 | 
String | 
getPath()
Get the file path 
 | 
String | 
getRtlMode()
Get the rtl mode 
 | 
boolean | 
isLangSpecific()
Retrieve the language mode 
 | 
String | 
toString()  | 
private String _debugMode
private boolean _langMode
private Map<String,String> _langPaths
private String _defaultLang
public ScriptFile(String path)
path - The script pathpublic ScriptFile(String debug, String rtl, String path)
debug - The debug mode. Can be null.rtl - The rtl mode. Can be null.path - The file path.public ScriptFile(String debug, Map<String,String> langPaths, String defaultLang)
debug - The debug mode. Can be null.langPaths - The list of languages with their paths.defaultLang - The default language code. Can be null.public ScriptFile(ClientSideElement.ScriptFile scriptFile)
scriptFile - The script file to clonepublic String getDebugMode()
public String getRtlMode()
public boolean isLangSpecific()
public Map<String,String> getLangPaths()
public String getDefaultLang()