net.sf.jportlet.util
Class HTMLHelper

java.lang.Object
  |
  +--net.sf.jportlet.util.HTMLHelper

public class HTMLHelper
extends java.lang.Object

HTML helper

Author:
Herve Tchepannou

Field Summary
static java.lang.String[] __codes
           
static int CR
           
static java.lang.String EMPTY
           
static int LF
           
static java.lang.String NBSP
           
 
Constructor Summary
HTMLHelper()
           
 
Method Summary
static java.lang.String encode(java.lang.String str)
          Encode a string to be HTML readable.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NBSP

public static final java.lang.String NBSP
See Also:
Constant Field Values

CR

public static final int CR
See Also:
Constant Field Values

LF

public static final int LF
See Also:
Constant Field Values

EMPTY

public static final java.lang.String EMPTY
See Also:
Constant Field Values

__codes

public static final java.lang.String[] __codes
Constructor Detail

HTMLHelper

public HTMLHelper()
Method Detail

encode

public static java.lang.String encode(java.lang.String str)
Encode a string to be HTML readable.

Parameters:
str - String to encode
Returns:
Encoded string


Copyright © 2002 Herve Tchepannou. All Rights Reserved.