Here you can find the source of htmlEnclose(String html)
Parameter | Description |
---|---|
html | a parameter |
private static String htmlEnclose(String html)
//package com.java2s; //License from project: LGPL public class Main { /**// ww w . ja v a2 s .c o m * Returns a String with wrapped with <html><body> tags * * @param html * @return */ private static String htmlEnclose(String html) { StringBuilder sb = new StringBuilder(); sb.append("<html><body>").append(html).append("</body></html>"); return sb.toString(); } }