|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.quiotix.html.parser.HtmlVisitor
com.quiotix.html.example.DumpLinks
public class DumpLinks
Example visitor to dump out the links from an HTML document.
| Field Summary | |
|---|---|
protected PrintWriter |
out
|
| Constructor Summary | |
|---|---|
DumpLinks(OutputStream os)
Constructor. |
|
DumpLinks(OutputStream os,
String encoding)
Constructor. |
|
| Method Summary | |
|---|---|
void |
finish()
Finish. |
static void |
main(String[] args)
Runnable. |
void |
visit(HtmlDocument.Tag t)
Visit a Tag. |
| Methods inherited from class com.quiotix.html.parser.HtmlVisitor |
|---|
start, visit, visit, visit, visit, visit, visit, visit, visit |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected PrintWriter out
| Constructor Detail |
|---|
public DumpLinks(OutputStream os)
os - OutputStream to dump to
public DumpLinks(OutputStream os,
String encoding)
throws UnsupportedEncodingException
os - OutputStream to dump to
UnsupportedEncodingException| Method Detail |
|---|
public void finish()
HtmlVisitor
finish in class HtmlVisitorpublic void visit(HtmlDocument.Tag t)
HtmlVisitor
visit in class HtmlVisitor
public static void main(String[] args)
throws ParseException,
IOException
ParseException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||