Java HTML htmlEnclose(String html)

Here you can find the source of htmlEnclose(String html)

Description

Returns a String with wrapped with tags

License

LGPL

Parameter

Parameter Description
html a parameter

Declaration

private static String htmlEnclose(String html) 

Method Source Code

//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();
    }
}

Related

  1. htmlcodeToSpecialchars(String str)
  2. htmlcodeToSpecialchars(String str)
  3. htmlContentHeaderGen(String providerNo, String output, String errorMsg)
  4. htmlConvert(String htmlStr)
  5. HTMLEnc(String s)
  6. htmlFilenameForClass(Class c)
  7. HTMLFilter(String the_txt)
  8. htmlFilter(String value)
  9. htmlFilterToEmpty(String value)