org.apache.commons.feedparser.locate
Class DiscoveryLocator
java.lang.Object
|
+--org.apache.commons.feedparser.locate.DiscoveryLocator
- public class DiscoveryLocator
- extends java.lang.Object
http://www.ietf.org/internet-drafts/draft-ietf-atompub-autodiscovery-00.txt
|
Method Summary |
static java.util.HashMap |
getAttributes(java.lang.String content)
Parse attributes within elements into a hashmap. |
static java.util.List |
locate(java.lang.String resource,
java.lang.String content,
FeedList list)
Locate a feed via RSS/Atom auto-discovery. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DiscoveryLocator
public DiscoveryLocator()
locate
public static final java.util.List locate(java.lang.String resource,
java.lang.String content,
FeedList list)
throws java.lang.Exception
- Locate a feed via RSS/Atom auto-discovery. If both Atom and RSS are
listed we return both. Actually we return all Atom/RSS or XML feeds
including FOAF. It's up to the caller to use the correct feed.
java.lang.Exception
getAttributes
public static java.util.HashMap getAttributes(java.lang.String content)
- Parse attributes within elements into a hashmap.
Copyright © 2004-2006 Apache Software Foundation. All Rights Reserved.