I would say the HTML parsing should be split out from the HTTP class
since in general the HTTP body could be something else than HTML, XHTML,
DHTML, etc.

Thank you,
Gary 

> -----Original Message-----
> From: Eric Pugh [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 23, 2004 03:40
> To: Commons-Dev
> Subject: [vfs] Adding list children ability to Http provider
> 
> Hi all,
> 
> I have been hacking my own copy of the http provider to provide a
> doListChildren() method.  I added to HttpFileProvider a method
> setListChildrenStrategry() that takes in an implementation of the
> interface
> ListChildrenStrategy().  The ListChildrenStrategy is responsible for
> parsing
> through the results of a webpage and parsing out what is a "child" and
> what
> isn't...
> 
> I need this because I want to parse a page like this:
> http://www.ibiblio.org/maven/jcifs/jars/ and pull out as 'children'
all
> the
> links that end in .jar...  Does this sound like something that should
be
> added to HttpFileProvider?
> 
> Eric
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to