|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sf.statcvs.output.HTMLTagger
//TODO: lots of duplicate code here and in HTMLPage
| Constructor Summary | |
HTMLTagger()
|
|
| Method Summary | |
static java.lang.String |
getAuthorLink(Author author)
Returns HTML code for a link to an author page |
static java.lang.String |
getDate(java.util.Date date)
Returns HTML code for a date |
static java.lang.String |
getDateAndTime(java.util.Date date)
Returns HTML code for a date, including time |
static java.lang.String |
getDirectoryLink(Directory directory)
Returns HTML code for a directory page link |
static java.lang.String |
getFileLink(CvsFile file)
Returns HTML code for a file. |
static java.lang.String |
getIcon(java.lang.String iconFilename)
Generates HTML for an icon |
static java.lang.String |
getLink(java.lang.String link,
java.lang.String linkName)
Creates a HTML representation of a hyperlink |
static java.lang.String |
getSummaryPeriod(java.util.Date startDate,
java.util.Date endDate)
generates HTML string describing the summary period of a chart or table |
static java.lang.String |
getSummaryPeriod(java.util.Date startDate,
java.util.Date endDate,
java.lang.String additionalText)
generates HTML string describing the summary period of a chart or table |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public HTMLTagger()
| Method Detail |
public static java.lang.String getLink(java.lang.String link,
java.lang.String linkName)
link - URLlinkName - Name of the Link
public static java.lang.String getAuthorLink(Author author)
author - the author
public static java.lang.String getDate(java.util.Date date)
date - the date
public static java.lang.String getDateAndTime(java.util.Date date)
date - the date
public static java.lang.String getDirectoryLink(Directory directory)
directory - a directory
public static java.lang.String getFileLink(CvsFile file)
file - a file
public static java.lang.String getSummaryPeriod(java.util.Date startDate,
java.util.Date endDate)
startDate - start date of the periodendDate - end date of the period
public static java.lang.String getSummaryPeriod(java.util.Date startDate,
java.util.Date endDate,
java.lang.String additionalText)
startDate - start date of the periodendDate - end date of the periodadditionalText - additional text, added to the output string
public static java.lang.String getIcon(java.lang.String iconFilename)
iconFilename - an icon filename (HTMLOutput.XXXX_ICON constants)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||