|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.starbase.starteam.ConfigFiles
All client stored config file locations for StarTeam can be found using this class.
| Method Summary | |
static java.io.File |
getConnectionManagerINI()
Gets the full path to the ConnectionManager.ini file. |
static java.io.File |
getDefaultCentralStatusDirectory()
Returns the default location of the client's local directory for storing centralized status information. |
static java.io.File |
getNonWindowsConfig()
Returns the default location of the client's configuration settings for non-Windows platforms. |
static java.io.File |
getServerList()
Gets the default location of the client's "ServerList.st" file. |
static java.io.File |
getStarTeamINI()
Returns the default location of the client's "StarTeam.ini" file. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static java.io.File getServerList()
throws java.io.IOException
On Windows platforms, the file is located in a user-specific application folder: for example, "C:\Documents and Settings\UserName\Application Data\Borland\StarTeam". (Older installations use "...\Application Data\Starbase".)
On non-windows platforms, the file is located in the ".starteam-client" subdirectory of the user's home directory. (Older installations use the ".starbase" subdirectory.)
java.io.IOException
public static java.io.File getStarTeamINI()
throws java.io.IOException
On Windows platforms, the file is located in a user-specific application folder: for example, "C:\Documents and Settings\UserName\Application Data\Borland\StarTeam". (Older installations use "...\Application Data\Starbase".)
On non-windows platforms, the file is located in the ".starteam-client" subdirectory of the user's home directory. (Older installations use the ".starbase" subdirectory.)
java.io.IOException
public static java.io.File getDefaultCentralStatusDirectory()
throws java.io.IOException
On Windows platforms, the file is located in a user-specific application folder: for example, "C:\Documents and Settings\UserName\Local Settings\Application Data\Borland\StarTeam\syncdb". (Older installations use "...\Application Data\Starbase\syncdb".)
On non-windows platforms, the file is located in the ".starteam-client/syncdb" subdirectory of the user's home directory. (Older installations use the ".starbase/syncdb" subdirectory.)
java.io.IOExceptionpublic static java.io.File getConnectionManagerINI()
On Windows platforms, the file is located in a global application folder: for example, "C:\Documents and Settings\All Users\Application Data\Borland\StarTeam". (Older installations use "...\Application Data\Starbase".)
On non-windows platforms, the ConnectionManager.ini file is unused. In this case, getConnectionManagerINI() returns null.
Platform.isWin32()
public static java.io.File getNonWindowsConfig()
throws java.io.IOException
The name of the configuration file is "platform.ini", located in the ".starteam-client" subdirectory of the user's home directory. (Older installations use the ".starteam" file in ".starbase" subdirectory. Calling this method will copy the new platform.ini from the old location if the new one does not already exist.)
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||