|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.statcvs.renderer.CommitLogRenderer
Class for rendering a list of commits as HTML.
Constructor Summary | |
CommitLogRenderer(List commits)
Creates a new instance for the list of commits. |
Method Summary | |
static String |
getFilename(int page)
Returns the filename for a commit log page. |
int |
getPages()
Returns the number of pages for this renderer. |
String |
renderMostRecentCommits(int maxCommits)
Returns HTML code for the commit log without splitting the list into pages. |
String |
renderPage(int page)
Returns HTML code for a page. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CommitLogRenderer(List commits)
commits
- A list of Commit
objectsMethod Detail |
public String renderMostRecentCommits(int maxCommits)
maxCommits
- maximum number of commits for the log; if there
are more, only the most recent will be used
public String renderPage(int page)
page
- the page number
public int getPages()
public static String getFilename(int page)
page
- specified page
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |