Class Annotations

    • Constructor Summary

      Constructors 
      Constructor Description
      Annotations()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addAnnotation​(Annotations.Annotation annotation)
      Append the given annotation record the list of annotation
      protected Annotations.Annotation getAnnotation​(int i)  
      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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Annotations

        public Annotations()
    • Method Detail

      • addAnnotation

        public void addAnnotation​(Annotations.Annotation annotation)
        Append the given annotation record the list of annotation
        Parameters:
        annotation -
      • getRevision

        public long getRevision​(int lineNumber)
        Description copied from interface: ISVNAnnotations
        Get the revision of the last change for the given lineNumber
        Specified by:
        getRevision in interface ISVNAnnotations
        Returns:
        the revision of last change
      • getAuthor

        public java.lang.String getAuthor​(int lineNumber)
        Description copied from interface: ISVNAnnotations
        Get the author of the last change for the given lineNumber
        Specified by:
        getAuthor in interface ISVNAnnotations
        Returns:
        the author of last change or null
      • getChanged

        public java.util.Date getChanged​(int lineNumber)
        Description copied from interface: ISVNAnnotations
        Get the date of the last change for the given lineNumber
        Specified by:
        getChanged in interface ISVNAnnotations
        Returns:
        date of last change
      • getLine

        public java.lang.String getLine​(int lineNumber)
        Description copied from interface: ISVNAnnotations
        Get the content (line itself) of the given lineNumber
        Specified by:
        getLine in interface ISVNAnnotations
        Returns:
        the line content
      • getInputStream

        public java.io.InputStream getInputStream()
        Description copied from interface: ISVNAnnotations
        Get an input stream providing the content of the file being annotated.
        Specified by:
        getInputStream in interface ISVNAnnotations
        Returns:
        an inputstream of the content of the file
      • numberOfLines

        public int numberOfLines()
        Description copied from interface: ISVNAnnotations
        Get the number of annotated lines
        Specified by:
        numberOfLines in interface ISVNAnnotations
        Returns:
        number of lines of file being annotated