org.tmatesoft.svn.core.wc
public interface ISVNAnnotateHandler
Here's an example code snippet:
import org.tmatesoft.svn.core.wc.ISVNAnnotateHandler; import org.tmatesoft.svn.core.wc.SVNLogClient; ... SVNLogClient logClient; ... logClient.doAnnotate(new File("path/to/WC/file"), SVNRevision.HEAD, SVNRevision.create(0), SVNRevision.HEAD, new ISVNAnnotateHandler(){ public void handleLine(Date date, long revision, String author, String line){ //implement this method as you wish, for example: System.out.println(revision + " " + author + " " + date + " " + line); } }); ...
Version: 1.1.1
See Also: SVNLogClient
Method Summary | |
---|---|
void | handleLine(Date date, long revision, String author, String line)
Handles per line annotation information - that is information about
who last committed (changed) this line, the revision and timestamp when it was last
committed.
|
Parameters: date the time moment when changes to line
were commited
to the repository revision the revision the changes were commited to author the person who did those changes line a text line of the target file (on which
doAnnotate()
was invoked)
Throws: SVNException