|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.taskdefs.cvslib.CVSEntry
public class CVSEntry
CVS Entry.
Constructor Summary | |
---|---|
CVSEntry(java.util.Date date,
java.lang.String author,
java.lang.String comment)
Creates a new instance of a CVSEntry |
Method Summary | |
---|---|
void |
addFile(java.lang.String file,
java.lang.String revision)
Adds a file to the CVSEntry |
void |
addFile(java.lang.String file,
java.lang.String revision,
java.lang.String previousRevision)
Adds a file to the CVSEntry |
java.lang.String |
getAuthor()
Gets the author of the CVSEntry |
java.lang.String |
getComment()
Gets the comment for the CVSEntry |
java.util.Date |
getDate()
Gets the date of the CVSEntry |
java.util.Vector |
getFiles()
Gets the files in this CVSEntry |
void |
setAuthor(java.lang.String author)
Sets the author of the CVSEntry |
java.lang.String |
toString()
Gets a String containing author, date, files and comment |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CVSEntry(java.util.Date date, java.lang.String author, java.lang.String comment)
date
- the dateauthor
- the authorcomment
- a comment to be added to the revisionMethod Detail |
---|
public void addFile(java.lang.String file, java.lang.String revision)
file
- the file to addrevision
- the revisionpublic void addFile(java.lang.String file, java.lang.String revision, java.lang.String previousRevision)
file
- the file to addrevision
- the revisionpreviousRevision
- the previous revisionpublic java.util.Date getDate()
public void setAuthor(java.lang.String author)
author
- the authorpublic java.lang.String getAuthor()
public java.lang.String getComment()
public java.util.Vector getFiles()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |