|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--allensoft.javacvs.client.RepositoryLocation
Defines the location of a repository.
Constructor Summary | |
RepositoryLocation(CVSConnectionMethod method,
java.lang.String sUserName,
java.lang.String sHostName,
java.lang.String sRepositoryPath)
Creates a new CVSRepositoryLocation with the specified settings. |
|
RepositoryLocation(java.lang.String sLocation)
Creates anew CVSRepositoryLocation object using sLocation as the location. |
Method Summary | |
boolean |
equals(java.lang.Object o)
|
CVSConnectionMethod |
getConnectionMethod()
Gets the connection method for this location. |
java.lang.String |
getHostName()
Gets the host name. |
java.lang.String |
getRepositoryPath()
Gets the path to the repository. |
java.lang.String |
getUserName()
Gets the user name. |
int |
hashCode()
|
java.lang.String |
toString()
Converts this location to a string of the form: |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public RepositoryLocation(java.lang.String sLocation) throws InvalidRepositoryLocationException
sLocation
- the location of the repository. This is of the form:
:method:user@host:/path/to/repository
public RepositoryLocation(CVSConnectionMethod method, java.lang.String sUserName, java.lang.String sHostName, java.lang.String sRepositoryPath) throws InvalidRepositoryLocationException
Method Detail |
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CVSConnectionMethod getConnectionMethod()
public java.lang.String getUserName()
public java.lang.String getHostName()
public java.lang.String getRepositoryPath()
public java.lang.String toString()
:method:user@host:/path/to/repository
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |