utility for creating/managing a preferences dir
More...
List of all members.
Static Public Member Functions |
static File | getPrefDir (String relativePath) throws IOException |
static File | getRootPrefDir () throws IOException |
| Get the root preference dir (~/.nasa).
|
static File | getHomeDir () throws IOException |
| Get the home directory of the user.
|
Static Public Attributes |
static final String | PREF_DIR_NAME = ".nasa" |
Detailed Description
Member Function Documentation
static File getHomeDir |
( |
| ) |
throws IOException [static] |
The home directory is determined by the HOME environment variable, or if that is empty, the java property "user.home" is used
static File getPrefDir |
( |
String |
relativePath | ) |
throws IOException [static] |
static File getRootPrefDir |
( |
| ) |
throws IOException [static] |
If it does not exist, it will be created.
- Returns:
- Exceptions:
-
Member Data Documentation
The documentation for this class was generated from the following file: