On Thursday, March 13, 2003, at 11:07 AM, Chris Rousseau wrote:


I'm thinking of working with Template.parse() to locate/detect any and all
plain text in a large set of existng templates. Has anyone else done
anything like this? Any pointers or anything in the tools that might give a
jumpstart on this?

You mean grab text? Oh, that's easy :)


the way to do it is to leave parse alone and just make a little visitor to run the template and return the text for you. Take a look at the 'TemplateTool' in the distribution (certainly in CVS...)

contrib/temporary/templatetool/TemplateTool.java.

geir


Thanks



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


--
Geir Magnusson Jr                                   203-956-2604(w)
Adeptra, Inc.                                       203-434-2093(m)
[EMAIL PROTECTED]                                   203-247-1713(m)


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



Reply via email to