org.apache.tools.ant.taskdefs.cvslib
Class CVSEntry
java.lang.Object
org.apache.tools.ant.taskdefs.cvslib.CVSEntry
public class CVSEntry
extends java.lang.Object
CVS Entry.
CVSEntry(Date date, String author, String comment) - Creates a new instance of a CVSEntry
|
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
|
CVSEntry
public CVSEntry(Date date,
String author,
String comment)
Creates a new instance of a CVSEntry
date
- the dateauthor
- the authorcomment
- a comment to be added to the revision
addFile
public void addFile(String file,
String revision)
Adds a file to the CVSEntry
file
- the file to addrevision
- the revision
addFile
public void addFile(String file,
String revision,
String previousRevision)
Adds a file to the CVSEntry
file
- the file to addrevision
- the revisionpreviousRevision
- the previous revision
getAuthor
public String getAuthor()
Gets the author of the CVSEntry
getComment
public String getComment()
Gets the comment for the CVSEntry
getDate
public Date getDate()
Gets the date of the CVSEntry
getFiles
public Vector getFiles()
Gets the files in this CVSEntry
setAuthor
public void setAuthor(String author)
Sets the author of the CVSEntry
toString
public String toString()
Gets a String containing author, date, files and comment
- a string representation of this CVSEntry