Here you can find the source of htmlize(String str)
Parameter | Description |
---|---|
str | a parameter |
public static String htmlize(String str)
//package com.java2s; //License from project: Open Source License public class Main { /**/*from w w w . ja v a2s . co m*/ * Surrounds string with html * * @param str * @return string with html tags sorrounded. */ public static String htmlize(String str) { return "<html>" + str + "</html>"; } }