|
||||||||||
| 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 java.io.PrintWriter |
out
|
| Constructor Summary | |
|---|---|
DumpLinks(java.io.OutputStream os)
Constructor. |
|
DumpLinks(java.io.OutputStream os,
java.lang.String encoding)
Constructor. |
|
| Method Summary | |
|---|---|
void |
finish()
Finish. |
static void |
main(java.lang.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 java.io.PrintWriter out
| Constructor Detail |
|---|
public DumpLinks(java.io.OutputStream os)
os - OutputStream to dump to
public DumpLinks(java.io.OutputStream os,
java.lang.String encoding)
throws java.io.UnsupportedEncodingException
os - OutputStream to dump to
java.io.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(java.lang.String[] args)
throws ParseException,
java.io.IOException
ParseException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||