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 Type
    Method
    Description
    getAuthor(int lineNumber)
    Get the author of the last change for the given lineNumber
    getChanged(int lineNumber)
    Get the date of the last change for the given lineNumber
    Get an input stream providing the content of the file being annotated.
    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
    Get the number of annotated lines
  • Method Details

    • getChanged

      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

      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

      String getLine(int lineNumber)
      Get the content (line itself) of the given lineNumber
      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