public class CVSEntry extends Object
Constructor and Description |
---|
CVSEntry(Date date,
String author,
String comment)
Creates a new instance of a CVSEntry
|
Modifier and Type | Method and Description |
---|---|
void |
addFile(String file,
String revision)
Adds a file to the CVSEntry
|
void |
addFile(String file,
String revision,
String previousRevision)
Adds a file to the CVSEntry
|
String |
getAuthor()
Gets the author of the CVSEntry
|
String |
getComment()
Gets the comment for the CVSEntry
|
Date |
getDate()
Gets the date of the CVSEntry
|
Vector |
getFiles()
Gets the files in this CVSEntry
|
void |
setAuthor(String author)
Sets the author of the CVSEntry
|
String |
toString()
Gets a String containing author, date, files and comment
|
public void addFile(String file, String revision)
file
- the file to addrevision
- the revisionpublic void addFile(String file, String revision, String previousRevision)
file
- the file to addrevision
- the revisionpreviousRevision
- the previous revisionpublic String getAuthor()
public String getComment()
public Date getDate()
public Vector getFiles()
public void setAuthor(String author)
author
- the author