se.kmr.scam.client.http.util
Class HTMLEncoder
java.lang.Object
se.kmr.scam.client.http.util.HTMLEncoder
- public class HTMLEncoder
- extends Object
Utility class for translating a string value into a HTML-safe representataion.
- Version:
- $Revision: 1.5 $
- Author:
- jorans
- Created:
- den 5 juni 2002
Field Summary |
static Hashtable |
_mapping
Maps unsafe characters to HTML-safe representation |
Method Summary |
static String |
encode(String in)
Encodes unsafe strings to HTML-safe strings. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_mapping
public static final Hashtable _mapping
- Maps unsafe characters to HTML-safe representation
HTMLEncoder
public HTMLEncoder()
encode
public static String encode(String in)
- Encodes unsafe strings to HTML-safe strings.
- Parameters:
in
- decode this string
- Returns:
- A HTML-safe string representation of the given string.
Copyright © 2003 SCAM. All Rights Reserved.