public class Annotations extends java.lang.Object implements ISVNAnnotations
ISVNAnnotations interface.
It's expected to be filled with annotation data by
addAnnotation(Annotations.Annotation) method.| Modifier and Type | Class and Description |
|---|---|
protected static class |
Annotations.AnnotateInputStream |
static class |
Annotations.Annotation
Class represeting one line of the annotations, i.e.
|
| Constructor and Description |
|---|
Annotations() |
| Modifier and Type | Method and 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
|
protected Annotations.Annotation getAnnotation(int i)
public void addAnnotation(Annotations.Annotation annotation)
annotation - public long getRevision(int lineNumber)
ISVNAnnotationslineNumbergetRevision in interface ISVNAnnotationspublic java.lang.String getAuthor(int lineNumber)
ISVNAnnotationslineNumbergetAuthor in interface ISVNAnnotationspublic java.util.Date getChanged(int lineNumber)
ISVNAnnotationslineNumbergetChanged in interface ISVNAnnotationspublic java.lang.String getLine(int lineNumber)
ISVNAnnotationslineNumbergetLine in interface ISVNAnnotationspublic java.io.InputStream getInputStream()
ISVNAnnotationsgetInputStream in interface ISVNAnnotationspublic int numberOfLines()
ISVNAnnotationsnumberOfLines in interface ISVNAnnotations