|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.StarTeamRepositoryIDs
public final class StarTeamRepositoryIDs
A local file that keeps track of the last known repository ID of each known StarTeam server.
| Constructor Summary | |
|---|---|
StarTeamRepositoryIDs()
Constructs a new StarTeamRepositoryIDs. |
|
StarTeamRepositoryIDs(java.io.File file)
Constructs a new StarTeamRepositoryIDs. |
|
| Method Summary | |
|---|---|
java.lang.String[] |
find(GUID repositoryID)
Finds the set of StarTeam servers that were last known to have the given repository ID. |
GUID[] |
getAllKnownIDs()
Gets a list of all known repository IDs saved in this file. |
static java.io.File |
getDefaultFile()
Gets the default location of the file where information about repostory IDs is stored. |
void |
save(java.lang.String host,
int port,
GUID repositoryID)
Remembers the repository ID for the indicated server. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StarTeamRepositoryIDs()
throws java.io.IOException
java.io.IOExceptionStarTeamRepositoryIDs.getDefaultFile()
public StarTeamRepositoryIDs(java.io.File file)
throws java.io.IOException
file - The file where information about repository IDs is stored.
java.io.IOException| Method Detail |
|---|
public static java.io.File getDefaultFile()
throws java.io.IOException
java.io.IOException
public java.lang.String[] find(GUID repositoryID)
throws java.io.IOException
repositoryID - The repository ID to be found.
java.io.IOException
public void save(java.lang.String host,
int port,
GUID repositoryID)
throws java.io.IOException
host - The server's host address.port - The server's TCP/IP port.repositoryID - The last known repository ID of this server.
java.io.IOException
public GUID[] getAllKnownIDs()
throws java.io.IOException
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||