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
Modifier and TypeMethodDescriptiongetAuthor
(int lineNumber) Get the author of the last change for the givenlineNumber
getChanged
(int lineNumber) Get the date of the last change for the givenlineNumber
Get an input stream providing the content of the file being annotated.getLine
(int lineNumber) Get the content (line itself) of the givenlineNumber
long
getRevision
(int lineNumber) Get the revision of the last change for the givenlineNumber
int
Get the number of annotated lines
-
Method Details
-
getChanged
Get the date of the last change for the givenlineNumber
- Parameters:
lineNumber
-- Returns:
- date of last change
-
getRevision
long getRevision(int lineNumber) Get the revision of the last change for the givenlineNumber
- Parameters:
lineNumber
-- Returns:
- the revision of last change
-
getAuthor
Get the author of the last change for the givenlineNumber
- Parameters:
lineNumber
-- Returns:
- the author of last change or null
-
getLine
Get the content (line itself) of the givenlineNumber
- Parameters:
lineNumber
-- Returns:
- the line content
-
getInputStream
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
-