Hi all. I have some amount of text which won't necessarily fit in memory (to be more precise, it normally does, but there is a requirement that it not be truncated, no matter what.) Additionally, our framework for this works more efficiently if we can avoid using a Reader, and write directly to the destination Writer.
So: 1. Is there some way that a template can call one of our methods, and our method can somehow get a reference to the Writer and write whatever it wants? 2. Failing that, is there some way to tell Velocity to insert the contents of a Reader directly into the output from the template, using a single template call? Or should I be taking some other approach to this, such as leaving a marker of some sort in the destination file, and then performing a second round of processing to get the text in there? Daniel -- Daniel Noll Forensic and eDiscovery Software Senior Developer The world's most advanced Nuix email data analysis http://nuix.com/ and eDiscovery software --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
