If you just want to scan for strings, you can do that with pure Java.
If you want to extract specific tagged pieces, then HTML Parser is for you.
Use the parser.setInputHTML(String), and then all the API of the parser
becomes available.
Konstantine wrote:
>Greetings
>I have beginner level knowledge of Java so please be gentle with me
>:-) I am trying to build a small application where the programs makes
>a number of POST requests and processes the results of the requests.
>
>I came as far as creating a separate thread for each request and
>storing the responses (full HTML document) in a StringBuffer belonging
>to thread standard packages. Now I want to scan the buffered document
>for various strings.
>
>Is HTMLParser write tool to use to do this, is there a standard
>package I can use to achieve this?
>
>many thanks in advance
>K.
>
>
>FYI, the link Wiki[1] in left frame of home page and the link
>frequently asked questions[2] in the request support page seem to have
>problems/
>
>[1] http://htmlparser.sourceforge.net/wiki/index.php
>[2] http://htmlparser.sourceforge.net/faq.html
>N?HS^?隊X???'???u??<?ڂ?.???y?"??*m?x%jx.j???^?קvƩ?X?jب?ȧ??m?ݚ???v&??קv?^?+????j?Z???{az???^??h???n???)?{h?????ا??+h?(m?????Z??jY?w??ǥrg?y$???Oxḝn?mj??^??{f????????j)b? b???ZZ?ǫ?ǫ?+-??.?ǟ????a??l??b??,???y?+???b????+-?w??f??????ser=
>
|