commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory" <ggreg...@seagullsw.com>
Subject RE: [vfs] Adding list children ability to Http provider
Date Thu, 24 Jun 2004 00:10:20 GMT
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:epugh@upstate.com]
> 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: commons-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-dev-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message