org.apache.commons.feedparser.locate
Class EntityDecoder

java.lang.Object
  |
  +--org.apache.commons.feedparser.locate.EntityDecoder

public class EntityDecoder
extends java.lang.Object

Given a string of HTML content we decode the entities it contains. NOTE: Currently this is a trivial implementation and we need to go through and make sure all HTML entities are correctly supported.

Version:
$Id: EntityDecoder.java 159215 2005-03-27 23:36:16Z burton $

Constructor Summary
EntityDecoder()
           
 
Method Summary
static java.lang.String decode(java.lang.String content)
          Decode content.
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityDecoder

public EntityDecoder()
Method Detail

decode

public static java.lang.String decode(java.lang.String content)
Decode content. If a null is passed in we return null.


main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
java.lang.Exception


Copyright © 2004-2006 Apache Software Foundation. All Rights Reserved.