|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.cvsgrab.RemoteRepository
public class RemoteRepository
Represents the remote repository available via the ViewCVS web interface.
Constructor Summary | |
---|---|
RemoteRepository(String rootUrl,
LocalRepository localRepository)
Constructor for the RemoteRepository object |
Method Summary | |
---|---|
String |
getDirectoryUrl(String directoryName)
|
String |
getDownloadUrl(RemoteFile file)
|
LocalRepository |
getLocalRepository()
Gets the local repository attribute |
RemoteDirectory |
getRemoteDirectory(String dirPath)
Gets the remote directory attribute |
String |
getRootUrl()
Gets the root url attribute |
CvsWebInterface |
getWebInterface()
|
boolean |
hasDirectoryToProcess()
|
RemoteDirectory |
nextDirectoryToProcess()
|
void |
registerDirectoryToProcess(RemoteDirectory remoteDir)
Registers a directory to process |
void |
setWebInterface(CvsWebInterface webInterface)
Sets the web interface |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RemoteRepository(String rootUrl, LocalRepository localRepository)
rootUrl
- Description of the ParameterlocalRepository
- Description of the ParameterMethod Detail |
---|
public String getRootUrl()
public LocalRepository getLocalRepository()
public RemoteDirectory getRemoteDirectory(String dirPath)
dirPath
- The directory path, relative to the root url
public CvsWebInterface getWebInterface()
public void setWebInterface(CvsWebInterface webInterface)
webInterface
- the web interfacepublic void registerDirectoryToProcess(RemoteDirectory remoteDir)
remoteDir
- The remote directory to registerpublic boolean hasDirectoryToProcess()
public RemoteDirectory nextDirectoryToProcess()
public String getDirectoryUrl(String directoryName)
directoryName
- The name of the directory
public String getDownloadUrl(RemoteFile file)
file
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |