org.apache.commons.feedparser.locate
Class AnchorParser
java.lang.Object
|
+--org.apache.commons.feedparser.locate.AnchorParser
- public class AnchorParser
- extends java.lang.Object
Given a string of HTML content, parse out anchors and fire events with all
the data when they are found.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnchorParser
public AnchorParser()
parse
public static void parse(java.lang.String content,
AnchorParserListener listener)
throws AnchorParserException
AnchorParserException
parseAnchors
public static void parseAnchors(java.lang.String content,
AnchorParserListener listener)
throws AnchorParserException
- Deprecated. use HTParser
- Get links from the given html with included titles and other metainfo.
AnchorParserException
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.