|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.cvsgrab.RemoteDirectory
public class RemoteDirectory
Represents a directory from the remote CVS server
| Constructor Summary | |
|---|---|
RemoteDirectory(RemoteDirectory parentDirectory,
String name)
Constructor for RemoteDirectory |
|
RemoteDirectory(RemoteRepository repository,
String dirPath,
String localDir)
Constructor for the RemoteDirectory object |
|
| Method Summary | |
|---|---|
void |
diffContents(PrintWriter writer)
Diff the contents of the repository and store the diffs in the file |
String |
getDirectoryPath()
Gets the directory path |
String |
getLocalDir()
|
RemoteFile[] |
getRemoteFiles()
Gets the remote files attribute |
RemoteRepository |
getRemoteRepository()
|
String |
getUrl()
Gets the url attribute |
void |
loadContents()
Load the contents of the web page and upload the set of versioned files and sub directories as needed. |
void |
registerRemoteFile(RemoteFile file)
Registers the remote file in this directory |
String |
toString()
|
void |
unregisterRemoteFile(RemoteFile file)
Unregisters the remote file |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RemoteDirectory(RemoteRepository repository,
String dirPath,
String localDir)
repository - The repositorydirPath - The name of the directorylocalDir - The local name of the directory
public RemoteDirectory(RemoteDirectory parentDirectory,
String name)
parentDirectory - The parent directoryname - The name of the directory| Method Detail |
|---|
public String getUrl()
public String getDirectoryPath()
public String getLocalDir()
public RemoteFile[] getRemoteFiles()
public RemoteRepository getRemoteRepository()
public void registerRemoteFile(RemoteFile file)
file - The remote file to registerpublic void unregisterRemoteFile(RemoteFile file)
file - The remote file to unrgister
public void loadContents()
throws Exception
Exception
public void diffContents(PrintWriter writer)
throws Exception
writer -
Exceptionpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||