velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Majji, Sashibhushan" <SMa...@carreker.com>
Subject Writing to File
Date Tue, 05 Apr 2005 22:50:09 GMT
Hi All, 

 I am  writing some data to file using Templet.. 

                fileName = "C:/cs_db.xml"; 
                BufferedWriter writer = new BufferedWriter( 
                        new FileWriter(fileName)); 

                if ( template != null) 
                        template.merge(context, writer); 

                is it possible to specify the encoding format (like ebcidic
or utf-8 etc..) Also I need to write data in different encoding formats..

                

                Please help me 

Thanks 
Sashi 
                        


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


Mime
View raw message