public interface IBaseDirectories
Depending on the OS and preferred layout, some directories may coincide.
Modifier and Type | Method and Description |
---|---|
File |
getCacheDirectory(boolean createIfMissing)
Get the directory where user-specific cached content (non-essential data)
should be stored.
|
File |
getPreferencesDirectory(boolean createIfMissing)
Get the directory where user-specific configuration and preferences
should be stored.
|
File |
getUserDataDirectory(boolean createIfMissing)
Get the directory where user-specific data files should be stored.
|
File getPreferencesDirectory(boolean createIfMissing)
createIfMissing
- if true, automatically creates this directory,
in case it is missingFile getUserDataDirectory(boolean createIfMissing)
createIfMissing
- if true, automatically creates this directory,
in case it is missingFile getCacheDirectory(boolean createIfMissing)
createIfMissing
- if true, automatically creates this directory,
in case it is missing