Package org.tigris.subversion.javahl
Class BlameCallbackImpl.BlameLine
java.lang.Object
org.tigris.subversion.javahl.BlameCallbackImpl.BlameLine
- Enclosing class:
- BlameCallbackImpl
public static class BlameCallbackImpl.BlameLine
extends java.lang.Object
Class represeting one line of the lines, i.e. a blame record
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBlameLine
(long revision, java.lang.String author, java.util.Date changed, java.lang.String line) Constructor -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
revision
private long revision -
author
private java.lang.String author -
changed
private java.util.Date changed -
line
private java.lang.String line
-
-
Constructor Details
-
BlameLine
public BlameLine(long revision, java.lang.String author, java.util.Date changed, java.lang.String line) Constructor- Parameters:
revision
-author
-changed
-line
-
-
-
Method Details
-
getAuthor
public java.lang.String getAuthor()- Returns:
- Returns the author.
-
getChanged
public java.util.Date getChanged()- Returns:
- Returns the date changed.
-
getLine
public java.lang.String getLine()- Returns:
- Returns the source line content.
-
getRevision
public long getRevision()- Returns:
- Returns the revision.
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
pad
private void pad(java.lang.StringBuffer sb, java.lang.String val, int len) Left pad the input string to a given length, to simulate printf()- style output. This method appends the output to the class sb member.- Parameters:
sb
- StringBuffer to append toval
- the input stringlen
- the minimum length to pad to
-