org.apache.commons.feedparser.locate
Class EntityDecoder
java.lang.Object
org.apache.commons.feedparser.locate.EntityDecoder
public class EntityDecoder
- extends 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 373622 2006-01-30 22:53:00Z mvdb $
- Author:
- Kevin A. Burton
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityDecoder
public EntityDecoder()
decode
public static String decode(String content)
- Decode content. If a null is passed in we return null.
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.