[Htmlparser-user] Node.collectInto()
Brought to you by:
derrickoswald
From: Joe L. <gu...@ya...> - 2003-03-02 23:43:41
|
Hi, I was looking into the example code provided with the 1.3 version distribution regrading extracting embedded links/images. I notice that I would have to specify a class filter in the collectInto method of Node class. Suppose that I want to collect several types of embedded tags in the same call, this method won't allow me to do so. Is it possible that I pass a Class[] type as the filter to this method? Anoter question regarding the collectInto(NodeList collectionList, java.lang.String filter) method, I could not seem to find the filter constants for different Node type. Can anyone point me where these are? BTW, I think HTMLParser is a great software. I have being looking for Java html parser high and low. HTMLParser represent a best architecture and user API to me. I especially like that it is in a sense a steaming parser. This means performance and optimal memory usage for me. Thanks. Joe __________________________________________________ Do you Yahoo!? Yahoo! Tax Center - forms, calculators, tips, more http://taxes.yahoo.com/ |