|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.ConfigFiles
public final class ConfigFiles
All client stored configuration file locations for StarTeam can be found using this class.
| Method Summary | |
|---|---|
static java.io.File |
getConnectionManagerPath()
Gets the full path to the ConnectionManager 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 "StarTeam-Servers.xml" file. |
static java.io.File |
getStarTeamXML()
Returns the default location of the client's "StarTeam.xml" file. |
static java.io.File |
getViewCompareMergeRootDir()
Gets the full path to the View Compare/Merge root folder. |
| 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".
On non-windows platforms, the file is located in the ".starteam-client" sub-directory of the user's home directory. (Older installations use the ".starbase" sub-directory.)
java.io.IOException
public static java.io.File getStarTeamXML()
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".
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 getConnectionManagerPath()
On Windows platforms, the file is located in a global application folder: for example, "C:\Documents and Settings\All Users\Application Data\Borland\StarTeam".
On non-windows platforms, the ConnectionManager file is unused. In this case, getConnectionManager() 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
public static java.io.File getViewCompareMergeRootDir()
throws java.io.IOException
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||