Ignore:
Timestamp:
2017-09-14T15:09:01+02:00 (7 years ago)
Author:
bastiK
Message:

see #15229 - add parameter to base directory methods

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/spi/preferences/IBaseDirectories.java

    r12855 r12856  
    1515     * Get the directory where user-specific configuration and preferences
    1616     * should be stored.
     17     * @param createIfMissing if true, automatically creates this directory,
     18     * in case it is missing
    1719     * @return the preferences directory
     20     * @since 12856
    1821     */
    19     File getPreferencesDirectory();
     22    File getPreferencesDirectory(boolean createIfMissing);
    2023
    2124    /**
    2225     * Get the directory where user-specific data files should be stored.
     26     * @param createIfMissing if true, automatically creates this directory,
     27     * in case it is missing
    2328     * @return the user data directory
     29     * @since 12856
    2430     */
    25     File getUserDataDirectory();
     31    File getUserDataDirectory(boolean createIfMissing);
    2632
    2733    /**
    2834     * Get the directory where user-specific cached content (non-essential data)
    2935     * should be stored.
     36     * @param createIfMissing if true, automatically creates this directory,
     37     * in case it is missing
    3038     * @return the cache directory
     39     * @since 12856
    3140     */
    32     File getCacheDirectory();
     41    File getCacheDirectory(boolean createIfMissing);
    3342}
Note: See TracChangeset for help on using the changeset viewer.