5 replies
by boyarsky
If you are using Java 1.3, there is a Swing class that does this. It is called HTMLDocument. In addition to searching for links in an HTML document, it can easily get the base URL of the document (helpful for relative links)
Good luck.
by tio
by jay eckles
I would suggest investigating the javax.swing.text.html.parser package with documentation at http://java.sun.com/products/jdk/1.2/docs/api/javax/swing/text/html/parser/package-summary.html
and the javax.swing.text.html package with documentation athttp://java.sun.com/products/jdk/1.2/docs/api/javax/swing/text/html/package-summary.html.
Good luck.
Jay Eckles
www.jayeckles.com
by tio
by tio
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending