com.waveset.util
Class HtmlUtil

java.lang.Object
  extended bycom.waveset.util.HtmlUtil

Deprecated. - Use com.waveset.ui.util.html.HtmlUtil.

public class HtmlUtil
extends java.lang.Object


Field Summary
static java.lang.String code_id
          Deprecated.  
 
Constructor Summary
HtmlUtil()
          Deprecated.  
 
Method Summary
static void append(java.lang.StringBuffer b, java.lang.String s, java.lang.String fontClass)
          Deprecated. Appends the specified string to the specified string buffer, wrapping the string in an HTML "font" element with the specified "class" attribute value.
static void delimitURLParameter(java.lang.StringBuffer b, java.lang.String urlSoFar)
          Deprecated.  
static java.lang.String escapeJavascript(java.lang.String s)
          Deprecated. Escape Javascript special characters.
static java.lang.String generateListHTML(java.util.List l, int makeSelectIfGreater, java.lang.String header, java.lang.String indent)
          Deprecated. Generate HTML for a table row/rows to represent a list of strings.
static java.lang.String generateLRUCacheReport(LRUCache.CacheReport report, java.lang.String name)
          Deprecated.  
static java.util.List HTMLtoJavascriptStrings(java.lang.String html)
          Deprecated. Take a buffer of HTML and turn it into a list of Javascript strings, escaping quotes and backslashes, and breaking lines on \n chars.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

code_id

public static final java.lang.String code_id
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

HtmlUtil

public HtmlUtil()
Deprecated. 
Method Detail

generateListHTML

public static java.lang.String generateListHTML(java.util.List l,
                                                int makeSelectIfGreater,
                                                java.lang.String header,
                                                java.lang.String indent)
Deprecated. 
Generate HTML for a table row/rows to represent a list of strings. This can turn into a scrollable area if it is over the specified size TODO: turned off scrollable area generation because it seems to be more confusing, at least to the one person that looked at it.


generateLRUCacheReport

public static java.lang.String generateLRUCacheReport(LRUCache.CacheReport report,
                                                      java.lang.String name)
Deprecated. 

delimitURLParameter

public static void delimitURLParameter(java.lang.StringBuffer b,
                                       java.lang.String urlSoFar)
Deprecated. 

append

public static void append(java.lang.StringBuffer b,
                          java.lang.String s,
                          java.lang.String fontClass)
Deprecated. 
Appends the specified string to the specified string buffer, wrapping the string in an HTML "font" element with the specified "class" attribute value.


HTMLtoJavascriptStrings

public static java.util.List HTMLtoJavascriptStrings(java.lang.String html)
Deprecated. 
Take a buffer of HTML and turn it into a list of Javascript strings, escaping quotes and backslashes, and breaking lines on \n chars.


escapeJavascript

public static java.lang.String escapeJavascript(java.lang.String s)
Deprecated. 
Escape Javascript special characters.

Parameters:
s - The string to escape.
Returns:
The given String escaped.