Package net.sourceforge.squirrel_sql.client

Examples of net.sourceforge.squirrel_sql.client.ApplicationArguments


   * 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";
    }
View Full Code Here

TOP

Related Classes of net.sourceforge.squirrel_sql.client.ApplicationArguments

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.