|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.statcvs.output.HTMLPage
Field Summary | |
protected static int |
SPACE_COUNT
|
Constructor Summary | |
HTMLPage(CvsContent content)
Method HTMLPage. |
Method Summary | |
protected String |
a(String target,
String html)
|
protected String |
br()
|
protected void |
createPage()
|
protected String |
deleteEndingSlash(String path)
|
protected CvsContent |
getContent()
|
protected String |
getFileName()
|
protected String |
getFolderHtml(Directory dir,
int currentDepth)
|
static Logger |
getLogger()
Returns the logger. |
protected String |
getPageName()
|
String |
getUserLink(String userName)
Returns HTML code for a userPage link tag |
protected String |
h1(String h1)
|
protected String |
h2(String h2)
|
protected String |
img(String image)
Returns HTML code for a image tag |
protected String |
img(String image,
int width,
int height)
Returns HTML code for a image tag |
protected String |
li(String li)
|
protected String |
p(String p)
|
protected void |
print(String printStream)
|
protected void |
printBackLink()
|
protected abstract void |
printBody()
|
protected void |
printH2(String h2)
|
protected void |
printParagraph(String paragraphContent)
|
protected void |
setFileName(String fileName)
|
protected void |
setPageName(String pageName)
|
protected String |
strong(String b)
|
protected String |
tag(String elementName,
String elementContent)
|
protected String |
ul(String ul)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final int SPACE_COUNT
Constructor Detail |
public HTMLPage(CvsContent content)
content
- of the PageMethod Detail |
protected void createPage() throws IOException
IOException
protected void print(String printStream) throws IOException
IOException
protected void printH2(String h2) throws IOException
IOException
protected void printParagraph(String paragraphContent) throws IOException
IOException
protected void printBackLink() throws IOException
IOException
protected String br()
protected String p(String p)
protected String h1(String h1)
protected String h2(String h2)
protected String strong(String b)
protected String a(String target, String html)
protected String ul(String ul)
protected String li(String li)
protected String img(String image, int width, int height)
image
- URL of the Image to be hyperlinkedwidth
- width of the Image to be hyperlinkedheight
- height of the Image to be hyperlinked
protected String img(String image)
image
- URL of the Image to be hyperlinked
protected String tag(String elementName, String elementContent)
protected abstract void printBody() throws IOException
IOException
public String getUserLink(String userName)
userName
- userName to be tagged
protected String deleteEndingSlash(String path)
protected String getFolderHtml(Directory dir, int currentDepth)
public static Logger getLogger()
protected CvsContent getContent()
protected void setFileName(String fileName)
protected String getFileName()
protected void setPageName(String pageName)
protected String getPageName()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |