| The ISVNAnnotateHandler interface should be implemented to be further
provided to SVNLogClient's doAnnotate() methods for processing
annotation information per each text line.
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){
System.out.println(revision +
" " +
author +
" " +
date +
" " +
line);
}
});
...
version: 1.1.1 author: TMate Software Ltd. See Also: SVNLogClient |