Re: [Htmlparser-developer] toPlainTextString() feedback requested
Brought to you by:
derrickoswald
From: Sam J. <ga...@yh...> - 2002-12-24 02:39:57
|
Hi Somik, I tend to use toPlainTextString() in all three ways described below. I use the first to generate a plain test overview, the second for debugging statements, and the final one for when I want to add my own additional formatting to the final text. Could you explain why you want to refactor these methods? Remember the danger of premature refactoring ... you lose flexibility that then has to be re-added later on, making more work in the long run. Is there some efficiency reason why you want to refactor these methods or is it just for neatness? Either way, I would certainly recommend a deprecation step. CHEERS> SAM Somik Raha wrote: >Hi Folks, > We are performing a series of refactorings, which >will involve merging of the functionality of >toPlainTextString() and toHTML(HTMLRenderer), and >perhaps, toHTML() itself.. > > We'd like to know user stories of how you've been >using toPlainTextString(). > >Do you enumerate through the nodes and : >[1] collect all the text data using >toPlainTextString() into a buffer? > >[2] make calls to toPlainTextString() but don't >collect the data ? > >[3] collect all text data using toPlainTextString() >into a buffer, but only after having processed the >string in some way ? > >Another question - if we remove toPlainTextString() >[and provide you an alternative], will it hurt, or >would you prefer a deprecation step (in 1.3) before >removal (in 1.4) ? > >It would be good for us to know more details about >your applications, so that we can perform our design >modifications correctly. Feel free to tell us your >stories in detail. (Remember to click Reply All so the >replies go to both lists). > >Regards, >Somik > >__________________________________________________ >Do you Yahoo!? >Yahoo! Mail Plus - Powerful. Affordable. Sign up now. >http://mailplus.yahoo.com > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Htmlparser-developer mailing list >Htm...@li... >https://lists.sourceforge.net/lists/listinfo/htmlparser-developer > > > > |