|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.tigris.subversion.svnclientadapter.Annotations
public class Annotations
Generic implementation of ISVNAnnotations interface.
It's expected to be filled with annotation data by
addAnnotation(Annotations.Annotation) method.
| Nested Class Summary | |
|---|---|
protected static class |
Annotations.AnnotateInputStream
|
static class |
Annotations.Annotation
Class represeting one line of the annotations, i.e. |
| Constructor Summary | |
|---|---|
Annotations()
|
|
| Method Summary | |
|---|---|
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 |
|---|
public Annotations()
| Method Detail |
|---|
protected Annotations.Annotation getAnnotation(int i)
public void addAnnotation(Annotations.Annotation annotation)
annotation - public long getRevision(int lineNumber)
ISVNAnnotationslineNumber
getRevision in interface ISVNAnnotationspublic java.lang.String getAuthor(int lineNumber)
ISVNAnnotationslineNumber
getAuthor in interface ISVNAnnotationspublic java.util.Date getChanged(int lineNumber)
ISVNAnnotationslineNumber
getChanged in interface ISVNAnnotationspublic java.lang.String getLine(int lineNumber)
ISVNAnnotationslineNumber
getLine in interface ISVNAnnotationspublic java.io.InputStream getInputStream()
ISVNAnnotations
getInputStream in interface ISVNAnnotationspublic int numberOfLines()
ISVNAnnotations
numberOfLines in interface ISVNAnnotations
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||