|
|||||||||||
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 String |
getAuthorLink(Author author)
Returns HTML code for a link to an author page |
static String |
getDate(Date date)
Returns HTML code for a date |
static String |
getDateAndTime(Date date)
Returns HTML code for a date, including time |
static String |
getDirectoryLink(Directory directory)
Returns HTML code for a directory page link |
static String |
getFileLink(CvsFile file)
Returns HTML code for a file. |
static String |
getIcon(String iconFilename)
Generates HTML for an icon |
static String |
getLink(String link,
String linkName)
Creates a HTML representation of a hyperlink |
static String |
getSummaryPeriod(Date startDate,
Date endDate)
generates HTML string describing the summary period of a chart or table |
static String |
getSummaryPeriod(Date startDate,
Date endDate,
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 String getLink(String link, String linkName)
link
- URLlinkName
- Name of the Link
public static String getAuthorLink(Author author)
author
- the author
public static String getDate(Date date)
date
- the date
public static String getDateAndTime(Date date)
date
- the date
public static String getDirectoryLink(Directory directory)
directory
- a directory
public static String getFileLink(CvsFile file)
file
- a file
public static String getSummaryPeriod(Date startDate, Date endDate)
startDate
- start date of the periodendDate
- end date of the period
public static String getSummaryPeriod(Date startDate, Date endDate, String additionalText)
startDate
- start date of the periodendDate
- end date of the periodadditionalText
- additional text, added to the output string
public static String getIcon(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 |