|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lenya.util.HTML
public class HTML
http://developer.java.sun/developer/TechTips/1999/tt0923.html
Constructor Summary | |
---|---|
HTML(java.lang.String uri)
Creates a new HTML object from a URI |
Method Summary | |
---|---|
java.util.List |
getAnchorHRefs(boolean duplicate)
Get Anchor Hrefs |
java.util.List |
getImageSrcs(boolean duplicate)
Get Image src attributes |
java.util.List |
getLinkHRefs(boolean duplicate)
Get Link hrefs |
static void |
main(java.lang.String[] args)
Command line interface |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HTML(java.lang.String uri) throws java.io.IOException
uri
- The URI
java.io.IOException
- if a IO error occursMethod Detail |
---|
public static void main(java.lang.String[] args)
args
- Command line argspublic java.util.List getAnchorHRefs(boolean duplicate)
duplicate
- Whether you want duplicate HREFS
public java.util.List getLinkHRefs(boolean duplicate)
duplicate
- Whether you want duplicate Hrefs
public java.util.List getImageSrcs(boolean duplicate)
duplicate
- Whether you want duplicates
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |