* Ctor.
*/
public ApplicationFiles()
{
super();
ApplicationArguments args = ApplicationArguments.getInstance();
final String homeDir = args.getSquirrelHomeDirectory();
_squirrelHomeDir = new File(homeDir != null ? homeDir : System.getProperty(IJavaPropertyNames.USER_DIR));
String homeDirPath = _squirrelHomeDir.getPath() + File.separator;
_squirrelPluginsDir = homeDirPath + "plugins";
_documentationDir = homeDirPath + "doc";
_libraryDir = homeDirPath + "lib";
_updateDir = homeDirPath + "update";
_userSettingsDir = args.getUserSettingsDirectoryOverride();
if (_userSettingsDir == null)
{
_userSettingsDir = System.getProperty(IJavaPropertyNames.USER_HOME)
+ File.separator + ".squirrel-sql";
}