@Component public class HtmlWriting extends Object
| Constructor and Description |
|---|
HtmlWriting() |
| Modifier and Type | Method and Description |
|---|---|
void |
appendOldStyleHeader(StringBuilder sb) |
void |
appendOldStyleHeader(StringBuilder sb,
String webappName,
String webappUrl,
String logoAlt,
String logoUrl,
String installName,
String installUrl,
String hostName,
String hostUrl) |
void |
appendSimpleFooter(StringBuilder sb) |
String |
getGoogleTrackingContent() |
String |
getHtmlDoctypeAndOpenTag() |
String |
getOldStyleHeader() |
String |
getTdsCatalogCssLink() |
String |
getTdsPageCssLink() |
String |
getUserHead() |
int |
writeDirectory(javax.servlet.http.HttpServletResponse res,
File dir,
String path)
Write a file directory.
|
public String getHtmlDoctypeAndOpenTag()
public String getGoogleTrackingContent()
public String getTdsCatalogCssLink()
public String getTdsPageCssLink()
public String getUserHead()
public String getOldStyleHeader()
public void appendOldStyleHeader(StringBuilder sb)
public void appendOldStyleHeader(StringBuilder sb, String webappName, String webappUrl, String logoAlt, String logoUrl, String installName, String installUrl, String hostName, String hostUrl)
public void appendSimpleFooter(StringBuilder sb)
public int writeDirectory(javax.servlet.http.HttpServletResponse res,
File dir,
String path)
throws IOException
res - the HttpServletResponse on which to write the file directory response.dir - directorypath - the URL path reletive to the baseIOException - if an I/O exception occurs.