|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.denova.runtime.WindowsDirs
public class WindowsDirs
Access standard Windows directories.
| Constructor Summary | |
|---|---|
WindowsDirs()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
getAppDataDirectory()
Get the Applications data directory for the current user. |
static java.lang.String |
getAppDataDirectory(java.lang.String user)
Get the Applications data directory. |
static java.lang.String |
getDesktopDir()
Get the directory name, including the trailing \, where the desktop items are stored for the current user. |
static java.lang.String |
getDesktopDir(java.lang.String user)
Get the directory name, including the trailing \, where the desktop items are stored. |
static java.lang.String |
getDocumentsDirectory()
Get the Documents directory for the current user. |
static java.lang.String |
getDocumentsDirectory(java.lang.String user)
Get the Documents directory. |
static java.lang.String |
getMenuDir()
Get the directory name, including the trailing \, where the menus are stored for the current user. |
static java.lang.String |
getMenuDir(java.lang.String user)
Get the directory name, including the trailing \, where the menus are stored. |
static java.lang.String |
getProgramManagerDirectory()
|
static java.lang.String |
getRoamingAppDataDirectory()
Get the roaming app data directory for the current user. |
static java.lang.String |
getRoamingAppDataDirectory(java.lang.String user)
Get the roaming app data directory. |
static java.lang.String |
getStartupMenuDir()
Get the Startup menus directory, including the trailing \, for the current user. |
static java.lang.String |
getStartupMenuDir(java.lang.String user)
Get the Startup menus directory, including the trailing \. |
static java.lang.String |
getWindowsDirectory()
Get the Windows directory name from the registry. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WindowsDirs()
| Method Detail |
|---|
public static java.lang.String getWindowsDirectory()
public static java.lang.String getProgramManagerDirectory()
On error, returns null
public static java.lang.String getAppDataDirectory()
On error, returns null
public static java.lang.String getAppDataDirectory(java.lang.String user)
user - WindowsConstants.CurrentUser or WindowsConstants.AllUsers
On error, returns null
public static java.lang.String getRoamingAppDataDirectory()
On error, returns null
public static java.lang.String getRoamingAppDataDirectory(java.lang.String user)
user - WindowsConstants.CurrentUser or WindowsConstants.AllUsers
On error, returns null
public static java.lang.String getDocumentsDirectory()
On error, returns null
public static java.lang.String getDocumentsDirectory(java.lang.String user)
user - WindowsConstants.CurrentUser or WindowsConstants.AllUsers
On error, returns null
public static java.lang.String getMenuDir()
public static java.lang.String getMenuDir(java.lang.String user)
user - WindowsConstants.CurrentUser or WindowsConstants.AllUsers
public static java.lang.String getStartupMenuDir()
On error, returns null
public static java.lang.String getStartupMenuDir(java.lang.String user)
user - WindowsConstants.CurrentUser or WindowsConstants.AllUsers
On error, returns null
public static java.lang.String getDesktopDir()
public static java.lang.String getDesktopDir(java.lang.String user)
user - WindowsConstants.CurrentUser or WindowsConstants.AllUsers
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||