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
-
-
Constructor Summary
Constructors Constructor Description BlameLine(long revision, java.lang.String author, java.util.Date changed, java.lang.String line)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAuthor()
java.util.Date
getChanged()
java.lang.String
getLine()
long
getRevision()
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.java.lang.String
toString()
-
-
-
Method Detail
-
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
-
-