Sharkysoft home

lava.text.html
Class HtmlEntities

java.lang.Object
  |
  +--lava.text.html.HtmlEntities

public class HtmlEntities
extends java.lang.Object

Translate HTML entities.

Details: HtmlEntities contains several functions for translating HTML entities into their natural Unicode values and vice-versa.

All of the entities enumerated in Named character entities (http://www.w3.org/TR/WD-html40-970708/sgml/entities.html) are supported.

Version:
2000.12.21
Author:
Sharky

Constructor Summary
HtmlEntities()
           
 
Method Summary
static java.lang.String decode(java.lang.String encoded)
           
static java.lang.String decodeHtmlText(java.lang.String encoded)
           
static java.lang.String encode(java.lang.String decoded)
           
static java.lang.String encodeHtmlText(java.lang.String decoded)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlEntities

public HtmlEntities()
Method Detail

decode

public static java.lang.String decode(java.lang.String encoded)

encode

public static java.lang.String encode(java.lang.String decoded)

decodeHtmlText

public static java.lang.String decodeHtmlText(java.lang.String encoded)

encodeHtmlText

public static java.lang.String encodeHtmlText(java.lang.String decoded)

Sharkysoft home