Uses the Java FileOutputStream, OutputStreamWriter, and BufferedWriter to provide a way to GREATLY increase
performance of file output. Must faster and less resource intensive than trying to build large strings and
perform fewer CFFILE append actions. Also less memory intensive than putting strings into an array and then
performing a listToArray() call.

Supports writting files in US-ASCII, ISO-8859-1, UTF-8, UTF-16BE, UTF-16LE,  UTF-16.
UTF-8 and UTF-16 unicode files will automatically have a byte order mark (BOM) written to them.
Drop in your custom plugins location or coldbox plugin extensions


  •   Luis Majano
  • 1.0 is the latest of 1 release(s)
  • Published on Jun 09 2016 03:53 PM
box install File-Writer

Add the following to your dependencies or devdependencies objects in your box.json, so CommandBox can track it as a dependency.

"File-Writer" : "stable"
1.00 / 1
  • Dec 02 2009 06:30 PM
  • Jun 09 2016 03:53 PM
  • 4250
  • 1555
  • 0