|
|||||||||
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)
ISVNAnnotations
lineNumber
getRevision
in interface ISVNAnnotations
public java.lang.String getAuthor(int lineNumber)
ISVNAnnotations
lineNumber
getAuthor
in interface ISVNAnnotations
public java.util.Date getChanged(int lineNumber)
ISVNAnnotations
lineNumber
getChanged
in interface ISVNAnnotations
public java.lang.String getLine(int lineNumber)
ISVNAnnotations
lineNumber
getLine
in interface ISVNAnnotations
public java.io.InputStream getInputStream()
ISVNAnnotations
getInputStream
in interface ISVNAnnotations
public int numberOfLines()
ISVNAnnotations
numberOfLines
in interface ISVNAnnotations
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |