org.apache.commons.feedparser.locate
Class AnchorParser
java.lang.Object
org.apache.commons.feedparser.locate.AnchorParser
public class AnchorParser
- extends Object
Given a string of HTML content, parse out anchors and fire events with all
the data when they are found.
- Author:
- Kevin A. Burton
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(String content,
AnchorParserListener listener)
throws AnchorParserException
- Throws:
AnchorParserException
parseAnchors
public static void parseAnchors(String content,
AnchorParserListener listener)
throws AnchorParserException
- Deprecated. use HTParser
- Get links from the given html with included titles and other metainfo.
- Throws:
AnchorParserException
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.