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.ObjectClass 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.StringgetAuthor()java.util.DategetChanged()java.lang.StringgetLine()longgetRevision()private voidpad(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.StringtoString()
-
-
-
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:
toStringin 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
-
-