Class CVSEntry
- java.lang.Object
- 
- org.apache.tools.ant.taskdefs.cvslib.CVSEntry
 
- 
 public class CVSEntry extends java.lang.ObjectCVS Entry.
- 
- 
Constructor SummaryConstructors Constructor Description CVSEntry(java.util.Date date, java.lang.String author, java.lang.String comment)Creates a new instance of a CVSEntry
 - 
Method SummaryModifier and Type Method Description voidaddFile(java.lang.String file, java.lang.String revision)Adds a file to the CVSEntryvoidaddFile(java.lang.String file, java.lang.String revision, java.lang.String previousRevision)Adds a file to the CVSEntryjava.lang.StringgetAuthor()Gets the author of the CVSEntryjava.lang.StringgetComment()Gets the comment for the CVSEntryjava.util.DategetDate()Gets the date of the CVSEntryjava.util.Vector<org.apache.tools.ant.taskdefs.cvslib.RCSFile>getFiles()Gets the files in this CVSEntryvoidsetAuthor(java.lang.String author)Sets the author of the CVSEntryjava.lang.StringtoString()Gets a String containing author, date, files and comment
 
- 
- 
- 
Method Detail- 
addFilepublic void addFile(java.lang.String file, java.lang.String revision)Adds a file to the CVSEntry- Parameters:
- file- the file to add
- revision- the revision
 
 - 
addFilepublic void addFile(java.lang.String file, java.lang.String revision, java.lang.String previousRevision)Adds a file to the CVSEntry- Parameters:
- file- the file to add
- revision- the revision
- previousRevision- the previous revision
 
 - 
getDatepublic java.util.Date getDate() Gets the date of the CVSEntry- Returns:
- the date
 
 - 
setAuthorpublic void setAuthor(java.lang.String author) Sets the author of the CVSEntry- Parameters:
- author- the author
 
 - 
getAuthorpublic java.lang.String getAuthor() Gets the author of the CVSEntry- Returns:
- the author
 
 - 
getCommentpublic java.lang.String getComment() Gets the comment for the CVSEntry- Returns:
- the comment
 
 - 
getFilespublic java.util.Vector<org.apache.tools.ant.taskdefs.cvslib.RCSFile> getFiles() Gets the files in this CVSEntry- Returns:
- the files
 
 - 
toStringpublic java.lang.String toString() Gets a String containing author, date, files and comment- Overrides:
- toStringin class- java.lang.Object
- Returns:
- a string representation of this CVSEntry
 
 
- 
 
-