|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.microsoft.tfs.core.util.SpecialFolders
public class SpecialFolders
Gets the path to some of the Windows Shell special folders. A path is
returned only if the folder exists on disk (the return value is
null
if the folder does not exist on disk). This is consistent
with the .NET Environment.GetFolderPath(SpecialFolder) method behavior.
Constructor Summary | |
---|---|
SpecialFolders()
|
Method Summary | |
---|---|
static java.lang.String |
getApplicationDataPath()
Gets the application data folder if it exists on disk ( null
if it does not). |
static java.lang.String |
getCommonApplicationDataPath()
Gets the common application data folder if it exists on disk ( null if it does not). |
static java.lang.String |
getLocalApplicationDataPath()
Gets the local application data folder if it exists on disk ( null if it does not). |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SpecialFolders()
Method Detail |
---|
public static java.lang.String getApplicationDataPath()
null
if it does not).
Represents the file system directory that serves as a common repository for application-specific data for the current, roaming user. A roaming user works on more than one computer on a network. A roaming user's profile is kept on a server on the network and is loaded onto a system when the user logs on.
CSIDL_APPDATA, FOLDERID_RoamingAppData
null
if it does not exist on disk and
null
on non-Windows platformspublic static java.lang.String getCommonApplicationDataPath()
null
if it does not).
Represents the file system directory that serves as a common repository for application-specific data that is used by all users.
null
if it does not exist on disk and
null
on non-Windows platformspublic static java.lang.String getLocalApplicationDataPath()
null
if it does not).
Represents the file system directory that serves as a common repository for application specific data that is used by the current, non-roaming user.
null
if it does not exist on disk and
null
on non-Windows platforms
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |