org.tigris.subversion.svnclientadapter
Interface ISVNAnnotations

All Known Implementing Classes:
Annotations

public interface ISVNAnnotations

An interface defining the result of a call to svn blame/annotate. For each line in the file, last modification data are returned.


Method Summary
 java.lang.String getAuthor(int lineNumber)
          Get the author of the last change for the given lineNumber
 java.util.Date getChanged(int lineNumber)
          Get the date of the last change for the given lineNumber
 java.io.InputStream getInputStream()
          Get an input stream providing the content of the file being annotated.
 java.lang.String getLine(int lineNumber)
          Get the content (line itself) of the given lineNumber
 long getRevision(int lineNumber)
          Get the revision of the last change for the given lineNumber
 int numberOfLines()
          Get the number of annotated lines
 

Method Detail

getChanged

java.util.Date getChanged(int lineNumber)
Get the date of the last change for the given lineNumber

Parameters:
lineNumber -
Returns:
date of last change

getRevision

long getRevision(int lineNumber)
Get the revision of the last change for the given lineNumber

Parameters:
lineNumber -
Returns:
the revision of last change

getAuthor

java.lang.String getAuthor(int lineNumber)
Get the author of the last change for the given lineNumber

Parameters:
lineNumber -
Returns:
the author of last change or null

getLine

java.lang.String getLine(int lineNumber)
Get the content (line itself) of the given lineNumber

Parameters:
lineNumber -
Returns:
the line content

getInputStream

java.io.InputStream getInputStream()
Get an input stream providing the content of the file being annotated.

Returns:
an inputstream of the content of the file

numberOfLines

int numberOfLines()
Get the number of annotated lines

Returns:
number of lines of file being annotated