Model.FileExists
| [Previous] [Main] [Next] |
FileExists() - I18N Method for Testing if a system file exists.
If it is ".", the system will use the directory where the application was started.
|
If the path contains the file name, the file name will be stripped off. (Url'.toString() will have the file name on the end.)
|
If the localeDirectory is "properties" the system knows that it is looking ar I18N properties files. It will look for the filename+"_es.properties" for a Spanish locale and filename_ex_MX.properties for a Spanish-Mexican locale. It will dliver a warning message if neither of these files exists.
|
|
1). This method checks to see if the case of a file is correct and delivers a warning message if the case is wrong, even though Windows allows the use of the file in its current case.
|
2) The method can check for missing properties files.
|
3) The method can check for missing system resources that use the JGuiGen subfolder rules for handling different Locale resources. (These same rules are used for text files and images files.)
|